summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-10 03:48:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-10 03:48:06 +0000
commitf51db33f6a84cee699a80664d857c792dfde6b67 (patch)
treee305c743a0f7418e4b9689489313ece531da743f /etc
parented772f1640999982708d6893ec896aab3ca1d954 (diff)
downloadpfsense-f51db33f6a84cee699a80664d857c792dfde6b67.zip
pfsense-f51db33f6a84cee699a80664d857c792dfde6b67.tar.gz
Use product_name
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.firmware_auto4
-rwxr-xr-xetc/rc.shutdown4
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'
OpenPOWER on IntegriCloud