diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-30 19:30:37 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-30 19:30:37 -0400 |
commit | d29d05ab8ee862f64120392778f0dc27b61eb7bf (patch) | |
tree | e3d03f99deb64955034467eebef0c12dbf76ae7c /etc/rc.firmware | |
parent | 89830b60dc217b911eae70723232cb7da65e9429 (diff) | |
download | pfsense-d29d05ab8ee862f64120392778f0dc27b61eb7bf.zip pfsense-d29d05ab8ee862f64120392778f0dc27b61eb7bf.tar.gz |
Broadcast when a firmware upgrade is completed
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 6 |
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 |