summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-24 15:30:46 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-24 15:30:46 -0400
commit3d7639eb28973754a15293476d00c71522ca143c (patch)
treecb967262229a04f0953c25bde7908b5243171044 /etc/rc
parentaeca0c4e2c84c336f4b47134720edf6e75dec739 (diff)
downloadpfsense-3d7639eb28973754a15293476d00c71522ca143c.zip
pfsense-3d7639eb28973754a15293476d00c71522ca143c.tar.gz
Add hideplatform directive useful for rebranding
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 0885997..67e2ceb 100755
--- a/etc/rc
+++ b/etc/rc
@@ -38,12 +38,19 @@ if [ "$PLATFORM" = "pfSense" ]; then
fi
product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
+hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | cut -d'"' -f4`
+
+if [ "$hideplatform" = "true" ];
+ platformbanner="" # hide the platform
+else
+ platformbanner=" on the '${PLATFORM}' platform"
+fi
echo
cat /etc/ascii-art/pfsense-logo-small.txt
echo
echo
-echo "Welcome to ${product} ${version} on the '${PLATFORM}' platform..."
+echo "Welcome to ${product} ${version} ${pltformbanner} ..."
echo
# Enable console output if its muted.
OpenPOWER on IntegriCloud