This commit is contained in:
committed by
Git OBS Bridge
parent
cfcbc0cde3
commit
e6256e3a47
3
rc.dhcpd
3
rc.dhcpd
@@ -162,7 +162,8 @@ case "$1" in
|
||||
for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES; do
|
||||
test -d $CHROOT_PREFIX/${i%/*} || mkdir -p $CHROOT_PREFIX/${i%/*}
|
||||
done
|
||||
for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES /etc/{resolv.conf,host.conf,hosts,localtime}; do
|
||||
rm -f $CHROOT_PREFIX/dev/urandom
|
||||
for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES /etc/{resolv.conf,host.conf,hosts,localtime} /dev/urandom; do
|
||||
if ! test -e $i; then continue; fi # neither of them is absolutely necessary
|
||||
cp -aL $i $CHROOT_PREFIX/$i &>/dev/null \
|
||||
|| { echo "...$0:$LINENO: could not copy $i to chroot jail"; rc_failed; rc_status -v1; exit 6; }
|
||||
|
Reference in New Issue
Block a user