diff options
-rwxr-xr-x | etc/rc.firmware_auto | 4 | ||||
-rwxr-xr-x | etc/rc.shutdown | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto index cc818e5..e4c53e8 100755 --- a/etc/rc.firmware_auto +++ b/etc/rc.firmware_auto @@ -6,6 +6,8 @@ FMBASEURL=$1 FMFILENAME=$2 FETCHFILENAME=$1/$2 +product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4` + # wait 5 seconds before beginning sleep 5 @@ -43,7 +45,7 @@ fi if [ "$PMD" = "$MD" ]; then echo "MD5's match." | logger -p daemon.info -i -t AutoUpgrade - echo "Beginning pfSense upgrade." | wall + echo "Beginning ${product} upgrade." | wall if [ "$PLATFORM" = "net45xx" ]; then /usr/local/bin/php /etc/rc.conf_mount_rw fi diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 7f70af2..f6175b4 100755 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -8,9 +8,11 @@ fi if [ -e /dev/ukbd0 ]; then /usr/sbin/vidcontrol -s 2 fi + +product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4` echo -echo "pfSense is now shutting down ..." +echo "${product} is now shutting down ..." echo stty status '^T' |