I�ve got the problem that all my included files (foobar.shared and barfoo.shared) wouldn�t be transfered in the CHROOT...
Shutting down DHCP server
Starting DHCP server .../usr/sbin/rcdhcpd:161: could not copy /etc/dhcpshare/sefclients.shared to chroot jail failed
I have tried to copy them to the chroot:
Code:
for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES /etc/{resolv.conf,host.conf,hosts,localtime}; do
cp -a $i $CHROOT_PREFIX/$i &>/dev/null \
|| { echo "...$0:$LINENO: could not copy $i to chroot jail"; rc_failed; rc_status -v1; exit 6; }
done
for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES /etc/dhcpshare/{foobar.shared,barfoo.shared}; do
cp -a $i $CHROOT_PREFIX/$i &>/dev/null \
|| { echo "...$0:$LINENO: could not copy $i to chroot jail"; rc_failed; rc_status -v1; exit 6; }
Could any one help me?