Re: Request for Testers - discover 2.0.2 packages
Am Mit, den 11.02.2004 schrieb Harald Dunkel um 20:17:
> PS.: Here is another patch to support kernel 2.6.x:
Thanks for your patch. I will include it in the next test release.
Additionally I forwarded it to discover-workers@lists.progeny.com.
Gaudenz
>
> -- 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: