diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-10 03:48:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-10 03:48:06 +0000 |
commit | f51db33f6a84cee699a80664d857c792dfde6b67 (patch) | |
tree | e305c743a0f7418e4b9689489313ece531da743f /etc/rc.firmware_auto | |
parent | ed772f1640999982708d6893ec896aab3ca1d954 (diff) | |
download | pfsense-f51db33f6a84cee699a80664d857c792dfde6b67.zip pfsense-f51db33f6a84cee699a80664d857c792dfde6b67.tar.gz |
Use product_name
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-x | etc/rc.firmware_auto | 4 |
1 files changed, 3 insertions, 1 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 |