diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-24 15:30:46 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-24 15:30:46 -0400 |
commit | 3d7639eb28973754a15293476d00c71522ca143c (patch) | |
tree | cb967262229a04f0953c25bde7908b5243171044 /etc/rc | |
parent | aeca0c4e2c84c336f4b47134720edf6e75dec739 (diff) | |
download | pfsense-3d7639eb28973754a15293476d00c71522ca143c.zip pfsense-3d7639eb28973754a15293476d00c71522ca143c.tar.gz |
Add hideplatform directive useful for rebranding
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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. |