livecd: rc.live - cosmetics with dmesg -n

havner havner at pld-linux.org
Fri Jan 27 00:48:45 CET 2006


Author: havner                       Date: Thu Jan 26 23:48:44 2006 GMT
Module: livecd                        Tag: HEAD
---- Log message:
- cosmetics with dmesg -n

---- Files affected:
livecd:
   rc.live (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: livecd/rc.live
diff -u livecd/rc.live:1.21 livecd/rc.live:1.22
--- livecd/rc.live:1.21	Tue Jul 26 15:55:41 2005
+++ livecd/rc.live	Fri Jan 27 00:48:39 2006
@@ -10,6 +10,8 @@
 . /etc/rc.d/init.d/functions
 . /etc/rc.d/init.d/functions-live
 
+./etc/sysconfig/system			# for $CONSOLE_LOGLEVEL
+
 touch /fastboot
 
 CMDLINE=" `cat /proc/cmdline` "
@@ -17,9 +19,6 @@
 if getparam debug > /dev/null; then
 	LOG=/dev/console
 	dmesg -n 7
-else
-	LOG=/dev/null
-	dmesg -n 1
 fi
 
 /sbin/service hotplug start
@@ -531,4 +530,7 @@
 fi
 
 chown -R user.users /home/users/user
-dmesg -n 1
+
+if getparam debug > /dev/null; then
+	dmesg -n $CONSOLE_LOGLEVEL
+fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/livecd/rc.live?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list