summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-04-02 21:18:34 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-04-02 21:18:34 -0400
commit05f6a2671d5838c12bce2101c45182815c12e306 (patch)
treeb468438dff483c7810773e4958e9859c3c337fa8 /etc/rc
parent6fafc69f9c8b23c9508ec38100da7f9a298c5388 (diff)
downloadpfsense-05f6a2671d5838c12bce2101c45182815c12e306.zip
pfsense-05f6a2671d5838c12bce2101c45182815c12e306.tar.gz
Correct grep statement for hideplatform
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 99e8654..d8bcae1 100755
--- a/etc/rc
+++ b/etc/rc
@@ -38,7 +38,7 @@ if [ "$PLATFORM" = "pfSense" ]; then
fi
product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
-hideplatform=`cat /etc/inc/globals.inc | wc -l`
+hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | wc -l`
if [ "$hideplatform" -gt "0" ]; then
platformbanner="" # hide the platform
OpenPOWER on IntegriCloud