summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2012-05-11 17:12:06 +0200
committerWarren Baker <warren@decoy.co.za>2012-05-11 17:16:03 +0200
commit777c202f7281cf51f18656349d7730741d46dc30 (patch)
tree20adbdc9094059b494b7fa2b604bd97fae22f0bc /etc/rc.firmware
parent970934dcf9213e1881f8b0f4be20fcfa0a0ef388 (diff)
downloadpfsense-777c202f7281cf51f18656349d7730741d46dc30.zip
pfsense-777c202f7281cf51f18656349d7730741d46dc30.tar.gz
make use of the correct file to send notifications
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware8
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
OpenPOWER on IntegriCloud