aboutsummaryrefslogtreecommitdiffstats
path: root/mkinitcpio/ykfde
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-02-26 23:31:31 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-05-22 20:44:26 +0200
commit0d250492b5ce1f01040898da7eba7db5df4f07be (patch)
treeca5a5d879d95d994bdb8b71374219a630853cbba /mkinitcpio/ykfde
parentb6cc20e9c27ddf4b4ca8a58ef7aa990885229157 (diff)
downloadmkinitcpio-ykfde-0d250492b5ce1f01040898da7eba7db5df4f07be.tar.gz
mkinitcpio-ykfde-0d250492b5ce1f01040898da7eba7db5df4f07be.tar.zst
drop shell script and implement with systemd units
Diffstat (limited to 'mkinitcpio/ykfde')
-rw-r--r--mkinitcpio/ykfde12
1 files changed, 4 insertions, 8 deletions
diff --git a/mkinitcpio/ykfde b/mkinitcpio/ykfde
index 5a407f5..4932dfd 100644
--- a/mkinitcpio/ykfde
+++ b/mkinitcpio/ykfde
@@ -11,15 +11,11 @@ build() {
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_file /usr/lib/systemd/scripts/ykfde-2f
+ add_systemd_unit ykfde-notify.service
+ add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-notify.service ../ykfde-notify.service
add_binary systemd-ask-password
-
- # shell and commands
- local applet
- add_binary /usr/lib/initcpio/busybox /usr/bin/busybox
- for applet in cat kill sh sleep; do
- add_symlink "/usr/bin/${applet}" busybox
- done
+ add_binary pkill
+ add_binary sleep
fi
}