From d29d05ab8ee862f64120392778f0dc27b61eb7bf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 30 Jul 2010 19:30:37 -0400 Subject: [PATCH] Broadcast when a firmware upgrade is completed --- etc/rc.firmware | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/rc.firmware b/etc/rc.firmware index 35b25e8d07..4275a38f2b 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