summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-26 19:46:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-26 19:46:10 +0000
commitc4e3f59fcd363717be4d953d49f1e57f2753eb0d (patch)
tree85e2cecdcb925fa3ac63d3f13d2e17e47e1b75d6
parenta7e599e7a137c969965bd79ed849665c8a8e9bd5 (diff)
downloadpfsense-c4e3f59fcd363717be4d953d49f1e57f2753eb0d.zip
pfsense-c4e3f59fcd363717be4d953d49f1e57f2753eb0d.tar.gz
Grab product_name from globals.inc
-rwxr-xr-xetc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 5785bf8..8fea992 100755
--- a/etc/rc
+++ b/etc/rc
@@ -24,12 +24,13 @@ export HOME PATH
# Set our current version
version=`cat /etc/version`
+product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
echo
cat /etc/ascii-art/pfsense-logo-small.txt
echo
echo
-echo "Welcome to pfSense ${version} on the '${PLATFORM}' platform..."
+echo "Welcome to ${product} ${version} on the '${PLATFORM}' platform..."
echo
if [ "$PLATFORM" = "cdrom" ]; then
OpenPOWER on IntegriCloud