summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-07-05 22:18:52 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-07-06 08:18:11 +0200
commitc30888383dac661a2e21becd1abb92c16c3d5998 (patch)
tree74fa6a751fa8b5cfaea1d0a614688456d8eba6e8
parentd4d3e222195257dec70d351e4bf2190b79ad069d (diff)
downloadmkinitcpio-ykfde-c30888383dac661a2e21becd1abb92c16c3d5998.tar.gz
mkinitcpio-ykfde-c30888383dac661a2e21becd1abb92c16c3d5998.tar.zst
update dracut for latest code
Did I get everyting? This is untested...
-rwxr-xr-xdracut/module-setup.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh
index 4a06e84..d7fdb3f 100755
--- a/dracut/module-setup.sh
+++ b/dracut/module-setup.sh
@@ -21,10 +21,12 @@ install() {
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/scripts/ykfde-2f
- inst_simple /usr/bin/keyctl
+ ln_r $systemdsystemunitdir/ykfde-2f.service $systemdsystemunitdir/sysinit.target.wants/ykfde-2f.service
+ inst_simple /usr/lib/systemd/system/ykfde-notify.service
+ ln_r $systemdsystemunitdir/ykfde-notify.service $systemdsystemunitdir/sysinit.target.wants/ykfde-notify.service
inst_simple /usr/bin/systemd-ask-password
+ inst_simple /usr/bin/pkill
+ inst_simple /usr/bin/sleep
fi