diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-01 10:42:47 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-01 10:42:47 +0200 |
commit | be598301fe099be177acefff54f9db65fe263cc7 (patch) | |
tree | 8f786a405b4da2303b0a491f0f8fe4460454551f /bin/ykfde | |
parent | 54db02d7d6dbead7a7da6a7b110a34721affdf44 (diff) | |
download | mkinitcpio-ykfde-be598301fe099be177acefff54f9db65fe263cc7.tar.gz mkinitcpio-ykfde-be598301fe099be177acefff54f9db65fe263cc7.tar.zst |
update for systemd in initramfs
Diffstat (limited to 'bin/ykfde')
-rw-r--r-- | bin/ykfde | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5,7 +5,7 @@ function help() { echo echo "where OPTIONS are:" echo " -1 use Yubico key slot 1" - echo " -2 use Yubico key slot 2" + echo " -2 use Yubico key slot 2 (default)" echo " -d DEVICE add key to device DEVICE" echo " -h show this help" echo " -k keep challenge, just add a new slot" @@ -13,17 +13,18 @@ function help() { TMPDIR="$(mktemp --tmpdir=/tmp/ .$(basename ${0})-${$}-XXXXXX)" PASS="" -SLOT="1" +SLOT="2" KEEP="0" while getopts "12d:hk" opt; do case ${opt} in 1) SLOT="1" + echo "Please update /etc/ykfde.conf if needed!" ;; 2) SLOT="2" - echo "Do not forget to add 'ykfde_slot=2' to your boot parameters!" + echo "Please update /etc/ykfde.conf if needed!" ;; d) DEVICE="${OPTARG}" |