diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-30 19:15:35 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-30 19:15:35 -0400 |
commit | f345388b05409a9c123171b0fa5a3fe523833ec9 (patch) | |
tree | e906adcf90be2fe2152188a38ceb0dcf47cfc0c2 | |
parent | 52013892c23e416f468c42a502a7ff092ff76bbc (diff) | |
download | pfsense-f345388b05409a9c123171b0fa5a3fe523833ec9.zip pfsense-f345388b05409a9c123171b0fa5a3fe523833ec9.tar.gz |
Broadcast when a firmware upgrade is completed
-rwxr-xr-x | etc/rc.firmware | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 4105f75..461810b 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -364,6 +364,10 @@ pfSenseNanoBSDupgrade) /etc/rc.conf_mount_ro /bin/sync + echo "NanoBSD Firmware upgrade complete. Rebooting in 10 seconds." >> /conf/upgrade_log.txt 2>&1 + echo "NanoBSD Firmware upgrade complete. Rebooting in 10 seconds." | wall + + # Sleep for 10 seconds sleep 10 rm -f /var/run/firmwarelock.dirty @@ -469,6 +473,9 @@ pfSenseupgrade) rm -f /var/run/firmware.lock /bin/sync + echo "Firmware upgrade complete. Rebooting in 10 seconds." >> /conf/upgrade_log.txt 2>&1 + echo "Firmware upgrade complete. Rebooting in 10 seconds." | wall + # Sleep and allow disks to catch up sleep 10 |