Twiddle softupdates bits during console muting.

This commit is contained in:
Scott Ullrich 2007-03-04 19:56:40 +00:00
parent 0b91e3c9dd
commit d5f60dba2d

6
etc/rc
View File

@ -38,15 +38,15 @@ if [ "$PLATFORM" = "embedded" ]; then
/etc/rc.embedded
fi
# Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null
# 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
# Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null
# Mount memory file system if it exists
echo -n "Mounting filesystems..."
/sbin/mount -a