diff options
author | Christian Hesse <mail@eworm.de> | 2016-02-26 21:42:09 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-02-26 21:43:15 +0100 |
commit | 4d630b09201faba28a9e58734538e15c3c8d4a8e (patch) | |
tree | a56ba1adc35b6c864a1ab8921ffb706710c3025e /mkinitcpio | |
parent | a9517bd0ca408c70c8bdf15c8e368ea128a9ee0d (diff) | |
download | mkinitcpio-ykfde-4d630b09201faba28a9e58734538e15c3c8d4a8e.tar.gz mkinitcpio-ykfde-4d630b09201faba28a9e58734538e15c3c8d4a8e.tar.zst |
shell and commands are required for second factor only
Diffstat (limited to 'mkinitcpio')
-rw-r--r-- | mkinitcpio/ykfde | 14 |
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 } |