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:16:03 +0200 |
commit | 777c202f7281cf51f18656349d7730741d46dc30 (patch) | |
tree | 20adbdc9094059b494b7fa2b604bd97fae22f0bc /etc/rc.firmware | |
parent | 970934dcf9213e1881f8b0f4be20fcfa0a0ef388 (diff) | |
download | pfsense-777c202f7281cf51f18656349d7730741d46dc30.zip pfsense-777c202f7281cf51f18656349d7730741d46dc30.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 698db67..6f677ab 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 @@ -416,7 +416,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 @@ -483,7 +483,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 |