SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Sun Aug 30 01:15:55 CEST 2009
Author: glen
Date: Sun Aug 30 01:15:54 2009
New Revision: 10517
Modified:
geninitrd/trunk/geninitrd
Log:
- rmmod missing is not fatal
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sun Aug 30 01:15:54 2009
@@ -648,8 +648,9 @@
echo "usleep $sleep_var" | add_linuxrc
fi
if [ "$module" = "scsi_wait_scan" ]; then
- busybox_applet rmmod
- echo "rmmod scsi_wait_scan" | add_linuxrc
+ if [ "$(busybox_applet rmmod 2>/dev/null; echo $?)" = 0 ]; then
+ echo "rmmod scsi_wait_scan" | add_linuxrc
+ fi
fi
done
More information about the pld-cvs-commit
mailing list