diff options
author | Bill Nottingham <notting@redhat.com> | 2010-08-24 10:43:15 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-08-24 10:50:03 -0400 |
commit | d2b3af73d120c930e7f1018010eb68c09e83af27 (patch) | |
tree | 9821f7e5aacb158955da94891649eca3346a556a | |
parent | 48822247756191a9f0556c91617d896a7f92eff8 (diff) | |
download | initscripts-d2b3af73d120c930e7f1018010eb68c09e83af27.tar initscripts-d2b3af73d120c930e7f1018010eb68c09e83af27.tar.gz initscripts-d2b3af73d120c930e7f1018010eb68c09e83af27.tar.bz2 initscripts-d2b3af73d120c930e7f1018010eb68c09e83af27.tar.xz initscripts-d2b3af73d120c930e7f1018010eb68c09e83af27.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-x | rc.d/rc.sysinit | 5 | ||||
-rw-r--r-- | sysconfig/init | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index a764c0bc..f788744c 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 388028df..1e4a5599 100644 --- a/sysconfig/init +++ b/sysconfig/init @@ -15,9 +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 used to reset this; this is the -# old sysklogd default) -LOGLEVEL=6 # Set to anything other than 'no' to allow hotkey interactive startup... PROMPT=yes # Set to 'yes' to allow probing for devices with swap signatures |