diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-04-02 20:57:21 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-04-02 20:57:21 -0400 |
commit | ad22530333c70c03a6c9bef472562a50727a5579 (patch) | |
tree | ac07c6fd2bad9575ace5c13951e34546cb6536d9 /etc/rc | |
parent | aebbbb638befd11129296615ec83dfa4b371ea7e (diff) | |
download | pfsense-ad22530333c70c03a6c9bef472562a50727a5579.zip pfsense-ad22530333c70c03a6c9bef472562a50727a5579.tar.gz |
Correct check for hideplatform
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,9 +36,9 @@ if [ "$PLATFORM" = "pfSense" ]; then fi product=`/bin/cat /etc/inc/globals.inc | /usr/bin/grep product_name | /usr/bin/cut -d'"' -f4` -hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | cut -d'"' -f4` +hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | wc -l` -if [ "$hideplatform" = "true" ]; then +if [ "$hideplatform" -gt "0"]; then platformbanner="" # hide the platform else platformbanner=" on the '${PLATFORM}' platform" |