1 # This file is part of dracut.
3 # See dracut.bootup(7) for details
6 Description=dracut ask for additional cmdline parameters
8 Before=dracut-cmdline.service
9 After=systemd-journald.socket
10 After=systemd-vconsole-setup.service
11 Requires=systemd-vconsole-setup.service
12 Wants=systemd-journald.socket
13 ConditionPathExists=/usr/lib/initrd-release
14 ConditionKernelCommandLine=|rd.cmdline=ask
15 ConditionPathExistsGlob=|/etc/cmdline.d/*.conf
16 Conflicts=shutdown.target emergency.target
19 Environment=DRACUT_SYSTEMD=1
20 Environment=NEWROOT=/sysroot
22 ExecStart=-/bin/dracut-cmdline-ask
24 StandardOutput=inherit
30 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash