diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-26 22:29:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-26 22:29:35 +0000 |
commit | 26dd685f2518deab03c2b7be349693b59af636cd (patch) | |
tree | 9552a3a9d3c86f7e36ef1f88f730f33175c40d9f /etc/rc | |
parent | 8071cce7e5a10814b8da40410f4012d810214738 (diff) | |
download | pfsense-26dd685f2518deab03c2b7be349693b59af636cd.zip pfsense-26dd685f2518deab03c2b7be349693b59af636cd.tar.gz |
Back out softupdates check code
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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 |