summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-26 22:29:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-26 22:29:35 +0000
commit26dd685f2518deab03c2b7be349693b59af636cd (patch)
tree9552a3a9d3c86f7e36ef1f88f730f33175c40d9f /etc/rc
parent8071cce7e5a10814b8da40410f4012d810214738 (diff)
downloadpfsense-26dd685f2518deab03c2b7be349693b59af636cd.zip
pfsense-26dd685f2518deab03c2b7be349693b59af636cd.tar.gz
Back out softupdates check code
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc13
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/rc b/etc/rc
index 3539dbe..e606ed4 100755
--- a/etc/rc
+++ b/etc/rc
@@ -42,19 +42,6 @@ if [ "$PLATFORM" = "pfSense" ]; then
mdmfs -S -M -s 2m md /var/run
fi
-# 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
- FILESYSTEM=`cat /etc/fstab | grep "/" | grep ufs | awk '{ print $1 }'`
- /sbin/tunefs -n enable $FILESYSTEM 2>/dev/null
- if [ $? != 0 ]; then
- echo "Cleaning filesystem..."
- fsck -y $FILESYSTEM
- echo "Attempting soft updates enable again..."
- /sbin/tunefs -n enable $FILESYSTEM
- fi
-fi
-
# Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null
OpenPOWER on IntegriCloud