summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-26 20:43:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-26 20:43:48 +0000
commit19525ae765cb33618eaedfdcce29353c4df7f5f2 (patch)
tree2594b56dadcbbd3981333e3ec802d35508377841 /etc/rc.initial
parentcd718d54e4e5f3352e5fe14af56052675d053b8c (diff)
downloadpfsense-19525ae765cb33618eaedfdcce29353c4df7f5f2.zip
pfsense-19525ae765cb33618eaedfdcce29353c4df7f5f2.tar.gz
Use $g['product_name']
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 655c4a5..a6eb34a 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -54,10 +54,12 @@ fi
/etc/rc.banner
+product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
+
# display a cheap menu
echo
echo
-echo " pfSense console setup "
+echo " ${product} console setup "
echo "***********************"
echo " 0) Logout (SSH only)"
echo " 1) Assign Interfaces"
@@ -71,7 +73,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
@@ -88,7 +90,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