From 6fafc69f9c8b23c9508ec38100da7f9a298c5388 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 2 Apr 2009 20:58:01 -0400 Subject: Correct check for hideplatform --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 4851fab..99e8654 100755 --- a/etc/rc +++ b/etc/rc @@ -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" -- cgit v1.1