]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
40network/installkernel: do not install isdn and uwb modules
authorHarald Hoyer <harald@redhat.com>
Fri, 31 Jul 2009 10:39:23 +0000 (12:39 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 31 Jul 2009 10:40:53 +0000 (12:40 +0200)
modules.d/40network/installkernel

index f87a6011103d819b870ebaad96a110457fa75281..3b61fdc5e52166d7cef475c1373ce0a649450b5a 100755 (executable)
@@ -2,7 +2,7 @@
 # Include wired net drivers, excluding wireless
 for modname in $(find "$srcmods/kernel/drivers" -name '*.ko'); do
   if nm -uPA $modname | egrep -q 'eth_type_trans|register_virtio_device'; then
-    if echo "$modname" | grep -q wireless; then
+    if echo "$modname" | egrep -q '/wireless/|/isdn/|/uwb/'; then
       continue
     else
       instmods $modname