summaryrefslogtreecommitdiffstats
path: root/bin/ykfde
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-01 10:42:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-01 10:42:47 +0200
commitbe598301fe099be177acefff54f9db65fe263cc7 (patch)
tree8f786a405b4da2303b0a491f0f8fe4460454551f /bin/ykfde
parent54db02d7d6dbead7a7da6a7b110a34721affdf44 (diff)
downloadmkinitcpio-ykfde-be598301fe099be177acefff54f9db65fe263cc7.tar.gz
mkinitcpio-ykfde-be598301fe099be177acefff54f9db65fe263cc7.tar.zst
update for systemd in initramfs
Diffstat (limited to 'bin/ykfde')
-rw-r--r--bin/ykfde7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ykfde b/bin/ykfde
index c5b522e..c0ce909 100644
--- a/bin/ykfde
+++ b/bin/ykfde
@@ -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}"