summaryrefslogtreecommitdiffstats
path: root/modules.d/45ifcfg/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/45ifcfg/module-setup.sh')
-rwxr-xr-xmodules.d/45ifcfg/module-setup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules.d/45ifcfg/module-setup.sh b/modules.d/45ifcfg/module-setup.sh
index b0d4418..cf731be 100755
--- a/modules.d/45ifcfg/module-setup.sh
+++ b/modules.d/45ifcfg/module-setup.sh
@@ -1,8 +1,11 @@
#!/bin/bash
+# This module is deprecated. Modern replacements are NetworkManager keyfiles and
+# systemd network files. It must now be explicitly opted in by the user to be
+# added to the initrd.
+
# called by dracut
check() {
- [[ -d $dracutsysrootdir/etc/sysconfig/network-scripts ]] && return 0
return 255
}