r3111 - in trunk/utils/initrd-tools: . debian

maximilian attems maks-guest@costa.debian.org
Sat, 14 May 2005 11:05:00 +0000


Author: maks-guest
Date: 2005-05-14 11:04:59 +0000 (Sat, 14 May 2005)
New Revision: 3111

Modified:
   trunk/utils/initrd-tools/debian/changelog
   trunk/utils/initrd-tools/init
Log:
shut up rmmod


Modified: trunk/utils/initrd-tools/debian/changelog
===================================================================
--- trunk/utils/initrd-tools/debian/changelog	2005-05-14 10:04:58 UTC (rev 3110)
+++ trunk/utils/initrd-tools/debian/changelog	2005-05-14 11:04:59 UTC (rev 3111)
@@ -2,8 +2,13 @@
 
   * Sven Luther
     - Let's add the keyboard input modules on powerpc. (Closes: #264839)
+  * Maximilian Attems
+    - Be less noisy when unloading modules. The errors are harmless,
+      beside initrd shouldn't load that bunch of modules.
+      Fix makes bootup less "scary" for kernels > 2.6.8.
+ 
 
- -- Sven Luther <luther@debian.org>  Sat, 14 May 2005 11:16:15 +0200
+ -- maximilian attems <max@sputnik.stro.at>  Sat, 14 May 2005 13:03:24 +0200
 
 initrd-tools (0.1.79) unstable; urgency=high
 

Modified: trunk/utils/initrd-tools/init
===================================================================
--- trunk/utils/initrd-tools/init	2005-05-14 10:04:58 UTC (rev 3110)
+++ trunk/utils/initrd-tools/init	2005-05-14 11:04:59 UTC (rev 3111)
@@ -300,7 +300,7 @@
 		set -- /sys/bus/pci/drivers/$ret/*:*
 		unset IFS
 		if [ ! -h "$1" ]; then
-			rmmod $i
+			rmmod $i > /dev/null 2>&1
 		fi
 	done