[Lunar-commits] r21575 - moonbase/trunk/kernel/modutils-wrappers/init.d

Auke Kok sofar at lunar-linux.org
Mon Sep 25 02:44:07 UTC 2006


Author: sofar
Date: 2006-09-25 02:44:07 +0000 (Mon, 25 Sep 2006)
New Revision: 21575

Modified:
   moonbase/trunk/kernel/modutils-wrappers/init.d/modutils
Log:
Make the console bootup a bit more quiet: remove INFO and DEBUG messages.


Modified: moonbase/trunk/kernel/modutils-wrappers/init.d/modutils
===================================================================
--- moonbase/trunk/kernel/modutils-wrappers/init.d/modutils	2006-09-25 00:53:40 UTC (rev 21574)
+++ moonbase/trunk/kernel/modutils-wrappers/init.d/modutils	2006-09-25 02:44:07 UTC (rev 21575)
@@ -6,6 +6,8 @@
 
 start()
 {
+	# hide non-significant messages
+	dmesg -n5
 	if [ -x /sbin/depmod ]; then
 		echo -n "Updating Module Dependencies"
 		depmod -a &> /dev/null &&
@@ -22,6 +24,8 @@
 			echo -e $RESULT_FAIL
 		done
 	fi
+	# restore message level
+	dmesg -n7
 }
 
 



More information about the Lunar-commits mailing list