summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-xetc/rc.firmware_auto4
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
OpenPOWER on IntegriCloud