From: Harald Hoyer Date: Tue, 17 Nov 2015 08:45:29 +0000 (+0100) Subject: dracut.sh: save systemdutildir env X-Git-Tag: 044~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27d7936f0ec839717a9788490ea7175a41071797;p=thirdparty%2Fdracut.git dracut.sh: save systemdutildir env even, if no systemd is used, we need that variable for systemd-udevd --- diff --git a/dracut.sh b/dracut.sh index 9e85f5002..14c1283ac 100755 --- 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 {