mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Broadcast when a firmware upgrade is completed
This commit is contained in:
parent
89830b60dc
commit
d29d05ab8e
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user