aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-08-24 10:43:15 -0400
committerBill Nottingham <notting@redhat.com>2010-08-24 10:45:21 -0400
commitba3f278b5d916b646e8cfca25cd32e3b8acf523e (patch)
tree41275e1d4219bf026771910c8c17750d20650e61
parent84a23f7f5ade9b02346681aa37e08d0d6bb8879f (diff)
downloadinitscripts-ba3f278b5d916b646e8cfca25cd32e3b8acf523e.tar
initscripts-ba3f278b5d916b646e8cfca25cd32e3b8acf523e.tar.gz
initscripts-ba3f278b5d916b646e8cfca25cd32e3b8acf523e.tar.bz2
initscripts-ba3f278b5d916b646e8cfca25cd32e3b8acf523e.tar.xz
initscripts-ba3f278b5d916b646e8cfca25cd32e3b8acf523e.zip
Don't frob the console loglevel on boot. (#621257, #626572)
1) This didn't do anything useful prior to rsyslog, as sysklogd would reset it. 2) This overrides the kernel commandline, for people who want to temporarily reset it there 3) This actually turns messages back on out from underneath plymouth, which isn't nice. To frob the console loglevel, pass it on the kernel command line.
-rwxr-xr-xrc.d/rc.sysinit5
-rw-r--r--sysconfig/init2
2 files changed, 0 insertions, 7 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b8412507..ac03961d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -105,11 +105,6 @@ else
echo "$PRODUCT"
fi
-# Fix console loglevel
-if [ -n "$LOGLEVEL" ]; then
- /bin/dmesg -n $LOGLEVEL
-fi
-
# Only read this once.
cmdline=$(cat /proc/cmdline)
diff --git a/sysconfig/init b/sysconfig/init
index 17b574c5..6c3f1238 100644
--- a/sysconfig/init
+++ b/sysconfig/init
@@ -15,8 +15,6 @@ SETCOLOR_FAILURE="echo -en \\033[0;31m"
SETCOLOR_WARNING="echo -en \\033[0;33m"
# terminal sequence to reset to the default color.
SETCOLOR_NORMAL="echo -en \\033[0;39m"
-# default kernel loglevel on boot (syslog will reset this)
-LOGLEVEL=3
# Set to 'yes' to allow probing for devices with swap signatures
AUTOSWAP=no
# What ttys should gettys be started on?