From ba3f278b5d916b646e8cfca25cd32e3b8acf523e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 24 Aug 2010 10:43:15 -0400 Subject: 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. --- rc.d/rc.sysinit | 5 ----- sysconfig/init | 2 -- 2 files changed, 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? -- cgit v1.2.1