SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Tue Mar 9 10:58:57 CET 2010
Author: glen
Date: Tue Mar 9 10:58:57 2010
New Revision: 11229
Modified:
geninitrd/trunk/geninitrd
Log:
- avoid extra checks as cycles are not ran
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Tue Mar 9 10:58:57 2010
@@ -636,12 +636,9 @@
if [ -n "$firmware" ]; then
firmware_install_module "$module" "$firmware"
else
- firmware_files=$(find_firmware "$module")
- if [ -n "$firmware_files" ]; then
- for file in $firmware_files; do
- firmware_install_module "$module" "$file"
- done
- fi
+ for file in $(find_firmware "$module"); do
+ firmware_install_module "$module" "$file"
+ done
fi
echo "insmod /lib/modules/$kernel/$modpath $options" | add_linuxrc
More information about the pld-cvs-commit
mailing list