[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request for Testers - discover 2.0.2 packages



PS.: Here is another patch to support kernel 2.6.x:

-- snip --
--- discover-modprobe.orig      2004-02-10 17:52:57.000000000 +0100
+++ discover-modprobe   2004-02-11 20:09:59.000000000 +0100
@@ -109,7 +109,7 @@
         continue
     fi

-    if ! (modprobe -l ${module_name}.o | grep -q ${module_name}.o); then
+    if ! (modprobe -l ${module_name} | grep -q -E "${module_name}\.o|${module_name}\.ko"); then
         ${verbose} && echo "Skipping ${module_name}; assuming it is compiled into the kernel."
         continue
     fi
-- snip --

Please note the "\." . The dot alone is a regular expression
for grep.


Hope this helps

Harri



Reply to: