Author: glen
Date: Sun Aug 30 01:12:24 2009
New Revision: 10516
Modified:
geninitrd/trunk/geninitrd
Log:
- check for rmmod applet
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sun Aug 30 01:12:24 2009
@@ -234,7 +234,7 @@
#
# NB! XXX do not output to STDOUT, it will appear in initrd images in some
cases!
busybox_applet() {
- local err=0
+ local err=0 applet
if [ -z "$busybox_functions" ]; then
local tmp=$($busybox 2>&1)
@@ -648,6 +648,7 @@
echo "usleep $sleep_var" | add_linuxrc
fi
if [ "$module" = "scsi_wait_scan" ]; then
+ busybox_applet rmmod
echo "rmmod scsi_wait_scan" | add_linuxrc
fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit