mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Grab product_name from globals.inc
This commit is contained in:
parent
a7e599e7a1
commit
c4e3f59fcd
3
etc/rc
3
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user