diff options
author | Warren Baker <warren@decoy.co.za> | 2012-05-11 17:12:06 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2012-05-11 17:12:06 +0200 |
commit | 62fc138e7096d9b28026a86244baad56980494f4 (patch) | |
tree | 1be817295407bbc17128654ac4fca453da498598 /etc/rc.firmware | |
parent | 937cec84c02b94d6784d5bac9ff06c83d55629e9 (diff) | |
download | pfsense-62fc138e7096d9b28026a86244baad56980494f4.zip pfsense-62fc138e7096d9b28026a86244baad56980494f4.tar.gz |
make use of the correct file to send notifications
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 2ad1b56..483b0b4 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -156,7 +156,7 @@ pfSenseNanoBSDupgrade) echo "NanoBSD Firmware upgrade in progress..." >> /conf/upgrade_log.txt 2>&1 echo "NanoBSD Firmware upgrade in progress..." | wall - /etc/rc.firmware_notify -e -g -m "NanoBSD Firmware upgrade in progress..." + /etc/rc.notify_message -e -g -m "NanoBSD Firmware upgrade in progress..." # backup config /bin/mkdir -p /tmp/configbak @@ -370,7 +370,7 @@ pfSenseNanoBSDupgrade) 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 - /etc/rc.firmware_notify -e -g -m "NanoBSD Firmware upgrade is complete. Rebooting in 10 seconds." + /etc/rc.notify_message -e -g -m "NanoBSD Firmware upgrade is complete. Rebooting in 10 seconds." sleep 10 @@ -422,7 +422,7 @@ pfSenseupgrade) echo "Firmware upgrade in progress..." >> /conf/upgrade_log.txt 2>&1 echo "Firmware upgrade in progress..." | wall - /etc/rc.firmware_notify -e -g -m "Firmware upgrade in progress..." + /etc/rc.notify_message -e -g -m "Firmware upgrade in progress..." # backup config /bin/mkdir -p /tmp/configbak @@ -489,7 +489,7 @@ pfSenseupgrade) 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 - /etc/rc.firmware_notify -e -g -m "Firmware upgrade is complete. Rebooting in 10 seconds." + /etc/rc.notify_message -e -g -m "Firmware upgrade is complete. Rebooting in 10 seconds." # Sleep and allow disks to catch up sleep 10 |