From 4d630b09201faba28a9e58734538e15c3c8d4a8e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 26 Feb 2016 21:42:09 +0100 Subject: shell and commands are required for second factor only --- mkinitcpio/ykfde | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mkinitcpio') 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 } -- cgit v1.2.3-70-g09d2