From: Kairui Song Date: Fri, 12 Oct 2018 05:07:13 +0000 (+0800) Subject: 40network: Don't include 40network by default X-Git-Tag: 050~268 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83cbc06ab91288e2d931b4f36935bfdb79a99b0e;p=thirdparty%2Fdracut.git 40network: Don't include 40network by default 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 --- diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh index 57c0a45e6..e8541636b 100755 --- a/modules.d/40network/module-setup.sh +++ b/modules.d/40network/module-setup.sh @@ -1,5 +1,10 @@ #!/bin/bash +# called by dracut +check() { + return 255 +} + # called by dracut depends() { echo -n "kernel-network-modules "