summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-21 01:00:38 +0000
committerColin Smith <colin@pfsense.org>2005-04-21 01:00:38 +0000
commit9f0952aa760b2ac448d2d4ca05606f06f3d31cf6 (patch)
tree56f9034cbaa0908eee79f32f303c12a2392b6874 /etc/rc.firmware
parent29f96f5ae47cf235034a00588642730d81a527f5 (diff)
downloadpfsense-9f0952aa760b2ac448d2d4ca05606f06f3d31cf6.zip
pfsense-9f0952aa760b2ac448d2d4ca05606f06f3d31cf6.tar.gz
(#15) Use rc.reboot when rebooting and don't try to remove auto_upgrade_in_progress.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index a41179a..02854f4 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -110,7 +110,7 @@ upgrade)
echo "Done - rebooting system..."
restore_chflags
- /sbin/reboot
+ /etc/rc.reboot
;;
pfSenseupgrade)
# wait 5 seconds before beginning
@@ -152,9 +152,8 @@ pfSenseupgrade)
/sbin/mount -r /cf
echo "Done - rebooting system..." | logger -p daemon.info -i -t Upgrade
- rm /tmp/auto_upgrade_in_progress
restore_chflags
- /sbin/shutdown -r now
+ /etc/rc.reboot
;;
delta_update)
backup_chflags
OpenPOWER on IntegriCloud