summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-02 12:27:24 -0400
committerjim-p <jimp@pfsense.org>2010-06-02 12:27:24 -0400
commit2d99dce73be4d5c020f8e6bdbbb61bc2e52fdd4c (patch)
treea0d226155cb4b17c5c84a9ee1968dcd1e62f977c /etc
parent79d87198e541f16e37df07ed54dc96767bb963a4 (diff)
downloadpfsense-2d99dce73be4d5c020f8e6bdbbb61bc2e52fdd4c.zip
pfsense-2d99dce73be4d5c020f8e6bdbbb61bc2e52fdd4c.tar.gz
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
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.reboot9
1 files changed, 0 insertions, 9 deletions
diff --git a/etc/rc.reboot b/etc/rc.reboot
index b3ed50a..ecc47c2 100755
--- a/etc/rc.reboot
+++ b/etc/rc.reboot
@@ -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
-
OpenPOWER on IntegriCloud