]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: save systemdutildir env
authorHarald Hoyer <harald@redhat.com>
Tue, 17 Nov 2015 08:45:29 +0000 (09:45 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 17 Nov 2015 08:45:29 +0000 (09:45 +0100)
even, if no systemd is used, we need that variable for systemd-udevd

dracut.sh

index 9e85f500262bc8ea1c8adf53580826fdefe8e48c..14c1283ac1bbd1ef0110a8dde1710808f79eaa56 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1481,7 +1481,7 @@ if [[ $kernel_only != yes ]]; then
         cat "$f" >> "${initdir}/etc/fstab"
     done
 
-    if dracut_module_included "systemd"; then
+    if [[ $systemdutildir ]]; then
         if [ -d ${initdir}/$systemdutildir ]; then
             mkdir -p ${initdir}/etc/conf.d
             {