mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-14 08:16:44 +00:00
oem-factory-reset: remove duplicate output 'Checking for USB Security dongle...'
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
97121ab86e
commit
eb63d4d46a
@ -1202,7 +1202,6 @@ fi
|
||||
|
||||
# ensure USB Security dongle connected if GPG_GEN_KEY_IN_MEMORY=n or if GPG_GEN_KEY_IN_MEMORY_COPY_TO_SMARTCARD=y
|
||||
if [ "$GPG_GEN_KEY_IN_MEMORY" = "n" -o "$GPG_GEN_KEY_IN_MEMORY_COPY_TO_SMARTCARD" = "y" ]; then
|
||||
echo -e "\nChecking for USB Security dongle...\n"
|
||||
enable_usb
|
||||
if ! gpg --card-status >/dev/null 2>&1; then
|
||||
local_whiptail_error "Can't access USB Security dongle; \nPlease remove and reinsert, then press Enter."
|
||||
|
Loading…
x
Reference in New Issue
Block a user