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@xxxxxxxxxx> --- modules.d/98systemd/dracut-initqueue.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service index f4c1dd4..61d3a7c 100644 --- a/modules.d/98systemd/dracut-initqueue.service +++ b/modules.d/98systemd/dracut-initqueue.service @@ -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 -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html