Grab product_name from globals.inc

This commit is contained in:
Scott Ullrich 2008-10-26 19:46:10 +00:00
parent a7e599e7a1
commit c4e3f59fcd

3
etc/rc
View File

@ -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