Kravenrus Posted December 17, 2019 Share Posted December 17, 2019 Можно как-то за пределами chroot-Debian использовать бинарники из директории /opt/debian/bin к примеру? Или перезапускать службы, что работают в chroot-Debian - те что /opt/debian/etc/init.d/service start|restart|stop? Иначе использование событий типа wan.d, netfilter.d является ограниченным Quote Link to comment Share on other sites More sharing options...
Kravenrus Posted July 4, 2020 Author Share Posted July 4, 2020 (edited) #!/bin/sh CHROOT_DIR=/opt/debian PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/sbin \ LC_ALL=C \ LANGUAGE=C \ LANG=C \ chroot $CHROOT_DIR ipupdate Debian Stable Buster 10.4 Разобрался. Код скрипта отсюда /opt/etc/ndm/wan.d/100-ipupdate.sh - выполняет /bin/ipupdate внутри chroot-Debian (тот, что /opt/debian/bin/ipupdate) Edited July 4, 2020 by Kravenrus Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.