summaryrefslogtreecommitdiffstats
path: root/mkinitcpio/ykfde
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitcpio/ykfde')
-rw-r--r--mkinitcpio/ykfde14
1 files changed, 7 insertions, 7 deletions
diff --git a/mkinitcpio/ykfde b/mkinitcpio/ykfde
index c49b35a..2051730 100644
--- a/mkinitcpio/ykfde
+++ b/mkinitcpio/ykfde
@@ -1,13 +1,6 @@
#!/bin/sh
build() {
- # 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
-
# install basic files to initramfs
add_binary /usr/lib/udev/ykfde
add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules
@@ -21,6 +14,13 @@ build() {
add_file /usr/lib/systemd/scripts/ykfde-2f
add_binary keyctl
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
fi
}