From e773b46301d40c977f2fb817571ec1c20c9fbace Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 22 Sep 2017 01:13:10 +0200 Subject: ... same for dracut --- dracut/module-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh index a791d44..8891803 100755 --- a/dracut/module-setup.sh +++ b/dracut/module-setup.sh @@ -16,14 +16,14 @@ install() { inst_simple "$moddir/ykfde.sh" /sbin/ykfde.sh inst_simple /usr/lib/ykfde/worker inst_simple /etc/ykfde.conf + inst_simple /usr/lib/systemd/system/ykfde-worker.service + ln_r $systemdsystemunitdir/ykfde-worker.service $systemdsystemunitdir/sysinit.target.wants/ykfde-worker.service # this is required for second factor if egrep -qi 'second factor = (yes|true|1)' /etc/ykfde.conf; then inst_simple /usr/lib/systemd/system/cryptsetup-pre.target inst_simple /usr/lib/systemd/system/ykfde-2f.service ln_r $systemdsystemunitdir/ykfde-2f.service $systemdsystemunitdir/sysinit.target.wants/ykfde-2f.service - inst_simple /usr/lib/systemd/system/ykfde-worker.service - ln_r $systemdsystemunitdir/ykfde-worker.service $systemdsystemunitdir/sysinit.target.wants/ykfde-worker.service inst_simple /usr/bin/systemd-ask-password inst_simple /usr/bin/pkill inst_simple /usr/bin/sleep -- cgit v1.2.3-70-g09d2