diff options
author | Harald Hoyer <harald@redhat.com> | 2013-07-30 12:36:12 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-07-30 15:28:47 +0200 |
commit | 71bb2ecd79ca72ca6a82a43b37c3d34889c8099e (patch) | |
tree | 0b4042de71e27ae5cf2c3642775596472146fca4 | |
parent | 6e0348f33b351dc7b2b920a63bbeb2a9340e600e (diff) | |
download | dracut-71bb2ecd79ca72ca6a82a43b37c3d34889c8099e.tar.gz dracut-71bb2ecd79ca72ca6a82a43b37c3d34889c8099e.tar.bz2 dracut-71bb2ecd79ca72ca6a82a43b37c3d34889c8099e.zip |
base: hard depend on systemd, if system was started by systemd
-rw-r--r-- | dracut.conf.d/fedora.conf.example | 1 | ||||
-rwxr-xr-x | modules.d/99base/module-setup.sh | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/dracut.conf.d/fedora.conf.example b/dracut.conf.d/fedora.conf.example index c10dca37..afe6dee2 100644 --- a/dracut.conf.d/fedora.conf.example +++ b/dracut.conf.d/fedora.conf.example @@ -12,5 +12,4 @@ systemdutildir=/usr/lib/systemd systemdsystemunitdir=/usr/lib/systemd/system systemdsystemconfdir=/etc/systemd/system udevdir=/usr/lib/udev -add_dracutmodules+=" systemd " hostonly="yes" diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index b8f1ef36..0b7c1fed 100755 --- a/modules.d/99base/module-setup.sh +++ b/modules.d/99base/module-setup.sh @@ -8,6 +8,7 @@ check() { depends() { echo udev-rules + systemctl --system --no-pager &>/dev/null && echo systemd return 0 } |