dracut.sh: save systemdutildir env

even, if no systemd is used, we need that variable for systemd-udevd
master
Harald Hoyer 2015-11-17 09:45:29 +01:00
parent 2da041d672
commit 27d7936f0e
1 changed files with 1 additions and 1 deletions

View File

@ -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
{