mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Twiddle softupdates bits during console muting.
This commit is contained in:
parent
0b91e3c9dd
commit
d5f60dba2d
6
etc/rc
6
etc/rc
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user