summaryrefslogtreecommitdiffstats
path: root/modules.d/01systemd-initrd/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmodules.d/01systemd-initrd/module-setup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules.d/01systemd-initrd/module-setup.sh b/modules.d/01systemd-initrd/module-setup.sh
index f65041f..957e7be 100755
--- a/modules.d/01systemd-initrd/module-setup.sh
+++ b/modules.d/01systemd-initrd/module-setup.sh
@@ -4,12 +4,13 @@
check() {
[[ $mount_needs ]] && return 1
- return 0
+ # Return 255 to only include the module, if another module requires it.
+ return 255
}
# called by dracut
depends() {
- echo "systemd"
+ echo systemd-udevd systemd-journald systemd-tmpfiles
}
installkernel() {