dracut-initqueue.service: Fix systemd start condition

Scripts in dracut initqueue hooks are placed under
/usr/lib/dracut/hooks/initqueue/*/ directory.

And also start initqueue service when kernel cmdline has
rd.break=initqueue

Signed-off-by: WANG Chao <chaowang@redhat.com>
master
WANG Chao 2013-06-07 17:50:56 +08:00 committed by Harald Hoyer
parent 630aed8b66
commit 437a56dc6b
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ After=systemd-udev-trigger.service
Wants=systemd-udev-trigger.service
ConditionPathExists=/etc/initrd-release
ConditionPathExists=|/lib/dracut/need-initqueue
ConditionPathExistsGlob=|/lib/dracut/hooks/initqueue/*.sh
ConditionKernelCommandLine=|rd.break=pre-mount
ConditionPathExistsGlob=|/lib/dracut/hooks/initqueue/*/*.sh
ConditionKernelCommandLine=|rd.break=initqueue

[Service]
Environment=DRACUT_SYSTEMD=1