mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
79d87198e5
commit
2d99dce73b
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user