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
parent
630aed8b66
commit
437a56dc6b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue