diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-04-02 20:58:01 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-04-02 20:58:01 -0400 |
commit | 6fafc69f9c8b23c9508ec38100da7f9a298c5388 (patch) | |
tree | ac649ff7dae8eb1a7538b84fa7e2c90c0040a2f7 /etc | |
parent | 8ff2395b262b551dfea46e792057a1c8d5c88046 (diff) | |
download | pfsense-6fafc69f9c8b23c9508ec38100da7f9a298c5388.zip pfsense-6fafc69f9c8b23c9508ec38100da7f9a298c5388.tar.gz |
Correct check for hideplatform
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,9 +38,9 @@ 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` +hideplatform=`cat /etc/inc/globals.inc | wc -l` -if [ "$hideplatform" = "true" ]; then +if [ "$hideplatform" -gt "0" ]; then platformbanner="" # hide the platform else platformbanner=" on the '${PLATFORM}' platform" |