summaryrefslogtreecommitdiffstats
path: root/dracut/module-setup.sh
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-09-22 01:13:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-09-22 01:13:10 +0200
commite773b46301d40c977f2fb817571ec1c20c9fbace (patch)
tree8e58b74488f4776410473e24aeb593ba22a1dd65 /dracut/module-setup.sh
parentffd17f35c5d96231d408c29ee54569ad06ebc0af (diff)
downloadmkinitcpio-ykfde-e773b46301d40c977f2fb817571ec1c20c9fbace.tar.gz
mkinitcpio-ykfde-e773b46301d40c977f2fb817571ec1c20c9fbace.tar.zst
... same for dracut
Diffstat (limited to 'dracut/module-setup.sh')
-rwxr-xr-xdracut/module-setup.sh4
1 files 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