summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-30 19:30:37 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-30 19:30:37 -0400
commitd29d05ab8ee862f64120392778f0dc27b61eb7bf (patch)
treee3d03f99deb64955034467eebef0c12dbf76ae7c /etc/rc.firmware
parent89830b60dc217b911eae70723232cb7da65e9429 (diff)
downloadpfsense-d29d05ab8ee862f64120392778f0dc27b61eb7bf.zip
pfsense-d29d05ab8ee862f64120392778f0dc27b61eb7bf.tar.gz
Broadcast when a firmware upgrade is completed
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 35b25e8..4275a38 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -358,6 +358,9 @@ pfSenseNanoBSDupgrade)
/etc/rc.conf_mount_ro
/bin/sync
+ echo "NanoBSD Firmware upgrade is complete. Rebooting in 10 seconds." >> /conf/upgrade_log.txt 2>&1
+ echo "NanoBSD Firmware upgrade is complete. Rebooting in 10 seconds." | wall
+
sleep 10
rm -f /var/run/firmwarelock.dirty
@@ -466,6 +469,9 @@ pfSenseupgrade)
rm -f /var/run/firmware.lock
/bin/sync
+ echo "Firmware upgrade is complete. Rebooting in 10 seconds." >> /conf/upgrade_log.txt 2>&1
+ echo "Firmware upgrade is complete. Rebooting in 10 seconds." | wall
+
# Sleep and allow disks to catch up
sleep 10
OpenPOWER on IntegriCloud