.
This commit is contained in:
parent
666071e35d
commit
5c9a260aa5
@ -164,7 +164,7 @@ if [ "$JAILUSER" != "X" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! (($JAILSRC)); then
|
if ! (($JAILSRC)); then
|
||||||
echo "removing /usr/src files ..."
|
echo "removing /usr/src files ... Ignore failure of removing . and .."
|
||||||
iocage exec $JAIL "rm -rf /usr/src/* ; rm -f /usr/src/.*"
|
iocage exec $JAIL "rm -rf /usr/src/* ; rm -f /usr/src/.*"
|
||||||
iocage exec $JAIL "[ -f /mnt/config/freebsd-update.conf ] && cp /mnt/config/freebsd-update.conf /etc/ || cp /mnt/common/freebsd-update.conf /etc/"
|
iocage exec $JAIL "[ -f /mnt/config/freebsd-update.conf ] && cp /mnt/config/freebsd-update.conf /etc/ || cp /mnt/common/freebsd-update.conf /etc/"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user