From 19525ae765cb33618eaedfdcce29353c4df7f5f2 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 26 Oct 2008 20:43:48 +0000 Subject: Use $g['product_name'] --- etc/rc.initial | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'etc') 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 -- cgit v1.1