From be598301fe099be177acefff54f9db65fe263cc7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 1 Oct 2013 10:42:47 +0200 Subject: update for systemd in initramfs --- bin/ykfde | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/ykfde') 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}" -- cgit v1.2.3-54-g00ecf