Skip to content

Commit

Permalink
... same for dracut
Browse files Browse the repository at this point in the history
  • Loading branch information
eworm-de committed Sep 21, 2017
1 parent ffd17f3 commit e773b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dracut/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e773b46

Please sign in to comment.