Merge pull request #115 from evverx/fix-dracut-cmdline-ask-service

dracut-systemd/dracut-cmdline-ask: fix dracut --kernel-cmdline=rd.cmdline=ask
master
Harald Hoyer 2016-02-16 09:52:27 +01:00
commit 6a97d2fc89
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,8 @@ Before=dracut-cmdline.service
After=systemd-journald.socket
Wants=systemd-journald.socket
ConditionPathExists=/usr/lib/initrd-release
ConditionKernelCommandLine=rd.cmdline=ask
ConditionKernelCommandLine=|rd.cmdline=ask
ConditionPathExistsGlob=|/etc/cmdline.d/*.conf

[Service]
Environment=DRACUT_SYSTEMD=1

View File

@ -1,5 +1,9 @@
#!/bin/bash

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh

getarg "rd.cmdline=ask" || exit 0

sleep 0.5
echo
sleep 0.5