Don't kill ssh, it will stop the rest of the process when done from ssh. Instead, do not shut down network interfaces before a reboot. The original motive for doing this may no longer be necessary. Fixes #626

This commit is contained in:
jim-p 2010-06-02 12:27:24 -04:00
parent 79d87198e5
commit 2d99dce73b

View File

@ -21,15 +21,6 @@ else
/etc/rc.conf_mount_ro
fi
killall -TERM sshd 2>&1 /dev/null
sleep 1
echo -n "Downing interfaces: "
for INTERFACE in `/sbin/ifconfig -l`; do
echo -n "$INTERFACE "
/sbin/ifconfig $INTERFACE down
done
/sbin/shutdown -r now