summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-20 14:53:49 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-01-20 14:53:49 -0500
commitbfaca65530f9ff9eb82279cc497ee2552f48161e (patch)
tree94e213e65074afab87de6ff68097625c2de1753f /etc/rc.initial
parent0ebc8ca1f9a1b0725b89784d64fe5c34099f86b0 (diff)
downloadpfsense-bfaca65530f9ff9eb82279cc497ee2552f48161e.zip
pfsense-bfaca65530f9ff9eb82279cc497ee2552f48161e.tar.gz
Use $g['product_name'] instead of pfSense
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial10
1 files changed, 6 insertions, 4 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 8172e2d..2852c92 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -8,11 +8,13 @@
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# All rights reserved.
+product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
+
if [ -e /usr/local/etc/rc.d/dev_bootstrap.sh ]; then
echo
echo "A developer bootstrap is most likely in progress."
echo "This operation bootstraps all developer files from"
- echo "pfSense.com and also FreeBSD.org and builds a ISO"
+ echo "$product and also FreeBSD.org and builds a ISO"
echo "to verify the environment is sane."
echo
echo "During this process, /usr/src is automatically downloaded"
@@ -62,7 +64,7 @@ fi
# display a cheap menu
echo
echo
-echo " pfSense console setup "
+echo " ${product} console setup "
echo "***********************"
echo " 0) Logout (SSH only)"
echo " 1) Assign Interfaces"
@@ -76,7 +78,7 @@ echo " 8) Shell"
echo " 9) PFtop"
echo "10) Filter Logs"
echo "11) Restart webConfigurator"
-echo "12) pfSense PHP shell"
+echo "12) ${product} PHP shell"
echo "13) Upgrade from console"
SSHD=`netstat -an | grep "*.22" | wc -l`
if [ "$SSHD" -gt 0 ]; then
@@ -93,7 +95,7 @@ for i in /var/db/pfi/capable_*; do
done
if [ "$PLATFORM" = "cdrom" ]; then
- echo "99) Install pfSense to a hard drive/memory drive, etc."
+ echo "99) Install ${product} to a hard drive/memory drive, etc."
echo
fi
OpenPOWER on IntegriCloud