diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-26 20:43:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-26 20:43:48 +0000 |
commit | 19525ae765cb33618eaedfdcce29353c4df7f5f2 (patch) | |
tree | 2594b56dadcbbd3981333e3ec802d35508377841 /etc/rc.initial | |
parent | cd718d54e4e5f3352e5fe14af56052675d053b8c (diff) | |
download | pfsense-19525ae765cb33618eaedfdcce29353c4df7f5f2.zip pfsense-19525ae765cb33618eaedfdcce29353c4df7f5f2.tar.gz |
Use $g['product_name']
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-x | etc/rc.initial | 8 |
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 |