Detect usb drive when creating keydrive

This commit is contained in:
Bob Mottram 2017-06-23 15:48:20 +01:00
parent 9ec93fff3a
commit 3ee2b0e2ed
1 changed files with 2 additions and 0 deletions

View File

@ -1054,6 +1054,7 @@ function create_keydrive_master {
dialog --title $"USB Master Keydrive" \
--msgbox $"Plug in a LUKS encrypted USB drive" 6 40
clear
detect_usb_drive
${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME --master 'yes'
any_key
}
@ -1066,6 +1067,7 @@ function create_keydrive_fragment {
dialog --title $"USB Fragment Keydrive" \
--msgbox $"Plug in a LUKS encrypted USB drive" 6 40
clear
detect_usb_drive
${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME
any_key
}