]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
40network: Don't include 40network by default
authorKairui Song <kasong@redhat.com>
Fri, 12 Oct 2018 05:07:13 +0000 (13:07 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 12 Oct 2018 11:17:58 +0000 (13:17 +0200)
commit 7347391 ('network-legacy: split off from network module')
splitted network function to network-legacy and removed check() function
of 40network. This caused 40network to be included even if network is
not needed.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/40network/module-setup.sh

index 57c0a45e66c463351f700d97e0fb7b35066ba513..e8541636b7fb8cf3e2b0f63df626b90ab592c78e 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+# called by dracut
+check() {
+    return 255
+}
+
 # called by dracut
 depends() {
     echo -n "kernel-network-modules "