summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-19 23:00:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-19 23:00:45 +0000
commit59fe3cdfd5f9b6a89c2491ba144e0d922a2253a8 (patch)
tree52d9c35507de296f0ce599f18b5807f2c9df4412 /etc/rc.firmware
parente559aae9f9a26f758b2b6e3b255dce6d5d1f7d4c (diff)
downloadpfsense-59fe3cdfd5f9b6a89c2491ba144e0d922a2253a8.zip
pfsense-59fe3cdfd5f9b6a89c2491ba144e0d922a2253a8.tar.gz
* Execute firmware upgrade in the background
* Reboot again from /etc/rc.firmware, not from the web gui. This can be *dangerous* if the user cancels the update, navigates away from the page, etc.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 8b21977..7da6c04 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -112,6 +112,7 @@ upgrade)
/sbin/mount -r /cf
echo "Done."
+ /etc/rc.reboot
;;
pfSenseupgrade)
# wait 5 seconds before beginning
@@ -160,6 +161,7 @@ pfSenseupgrade)
/sbin/mount -r /cf
echo "Done." | logger -p daemon.info -i -t Upgrade
+ /etc/rc.reboot
;;
delta_update)
backup_chflags
OpenPOWER on IntegriCloud