summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-04 19:13:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-04 19:13:33 +0000
commitb523add095a8cff56d135074c7e19d08fe0f8d28 (patch)
treebe5fea97ee51adc68d2ae64f36b71c218f417adc /etc/rc
parentd5cfa74bf7d11dedff0ea3c9ebd751da4a915f6f (diff)
downloadpfsense-b523add095a8cff56d135074c7e19d08fe0f8d28.zip
pfsense-b523add095a8cff56d135074c7e19d08fe0f8d28.tar.gz
Handle enablesoftupdates on the full installation platform as well
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 46dc47b..cddbb2f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -41,6 +41,11 @@ fi
# Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null
+SOFTUPDATES=`grep "enablesoftupdates" /cf/conf/config.xml | wc -l`
+if [ $SOFTUPDATES -gt 0 ]; then
+ /sbin/tunefs -n enable / 2>/dev/null
+fi
+
# Mount memory file system if it exists
echo -n "Mounting filesystems..."
/sbin/mount -a
OpenPOWER on IntegriCloud