summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-04 19:15:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-04 19:15:08 +0000
commit0b91e3c9dd7b117a94a7eeb230b7dd96aabf1b4c (patch)
tree4d06d2e7c604fb285cc71b24803753d6b3c9dd54 /etc/rc
parentb523add095a8cff56d135074c7e19d08fe0f8d28 (diff)
downloadpfsense-0b91e3c9dd7b117a94a7eeb230b7dd96aabf1b4c.zip
pfsense-0b91e3c9dd7b117a94a7eeb230b7dd96aabf1b4c.tar.gz
Full path to grep, add comment.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index cddbb2f..08c0a0f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -41,7 +41,8 @@ fi
# Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null
-SOFTUPDATES=`grep "enablesoftupdates" /cf/conf/config.xml | wc -l`
+# Enable Softupdates if enablesoftupdates is found in config.xml
+SOFTUPDATES=`/usr/bin/grep "enablesoftupdates" /cf/conf/config.xml | wc -l`
if [ $SOFTUPDATES -gt 0 ]; then
/sbin/tunefs -n enable / 2>/dev/null
fi
OpenPOWER on IntegriCloud