aboutsummaryrefslogtreecommitdiffstats
path: root/mkinitcpio/ykfde
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-09-22 01:10:31 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-09-22 01:10:31 +0200
commitffd17f35c5d96231d408c29ee54569ad06ebc0af (patch)
tree5f2d4064a1a92e52a87e24b40ee3c2953aa0b1e8 /mkinitcpio/ykfde
parente79ca4185947e867e8ea26521443413c2094a8c8 (diff)
downloadmkinitcpio-ykfde-ffd17f35c5d96231d408c29ee54569ad06ebc0af.tar.gz
mkinitcpio-ykfde-ffd17f35c5d96231d408c29ee54569ad06ebc0af.tar.zst
we always need the worker
Diffstat (limited to 'mkinitcpio/ykfde')
-rw-r--r--mkinitcpio/ykfde4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkinitcpio/ykfde b/mkinitcpio/ykfde
index dc4b8c1..9704a08 100644
--- a/mkinitcpio/ykfde
+++ b/mkinitcpio/ykfde
@@ -5,14 +5,14 @@ build() {
add_binary /usr/lib/ykfde/worker
add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules
add_file /etc/ykfde.conf
+ add_systemd_unit ykfde-worker.service
+ add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-worker.service ../ykfde-worker.service
# this is required for second factor
if egrep -qi 'second factor = (yes|true|1)' /etc/ykfde.conf; then
add_systemd_unit cryptsetup-pre.target
add_systemd_unit ykfde-2f.service
add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-2f.service ../ykfde-2f.service
- add_systemd_unit ykfde-worker.service
- add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-worker.service ../ykfde-worker.service
add_binary systemd-ask-password
add_binary pkill
add_binary sleep