Package: discover Version: 2.0.7-2 discover-modprobe will not load modules with a name that is a substring of a previously loaded module.
Example: e1000 and e100 If an Intel Gigabit Ethernet card (module e1000) is detected before an Intel Fast Ethernet one (e100), the module e1000 is loaded first. The module e100 will not be loaded because "e100" is a substring of "e1000". Here is a so small patch to fix this. --- discover-modprobe.old 2005-03-22 16:08:18.000000000 +0100 +++ discover-modprobe 2005-03-22 16:37:08.000000000 +0100 @@ -106,7 +106,7 @@ # Poor man's uniq. module_details_uniq="" for module_info in ${module_details}; do - echo ${module_details_uniq} | grep ${module_info} > /dev/null 2>&1 + echo ${module_details_uniq} | egrep -e "^(.*[[:space:]])?${module_info}([[:space:]].*)?$" > /dev/null 2>&1 if [ $? -eq 1 ]; then module_details_uniq="${module_details_uniq} ${module_info}" fi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]