Detect usb drive when creating keydrive
This commit is contained in:
parent
9ec93fff3a
commit
3ee2b0e2ed
|
@ -1054,6 +1054,7 @@ function create_keydrive_master {
|
||||||
dialog --title $"USB Master Keydrive" \
|
dialog --title $"USB Master Keydrive" \
|
||||||
--msgbox $"Plug in a LUKS encrypted USB drive" 6 40
|
--msgbox $"Plug in a LUKS encrypted USB drive" 6 40
|
||||||
clear
|
clear
|
||||||
|
detect_usb_drive
|
||||||
${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME --master 'yes'
|
${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME --master 'yes'
|
||||||
any_key
|
any_key
|
||||||
}
|
}
|
||||||
|
@ -1066,6 +1067,7 @@ function create_keydrive_fragment {
|
||||||
dialog --title $"USB Fragment Keydrive" \
|
dialog --title $"USB Fragment Keydrive" \
|
||||||
--msgbox $"Plug in a LUKS encrypted USB drive" 6 40
|
--msgbox $"Plug in a LUKS encrypted USB drive" 6 40
|
||||||
clear
|
clear
|
||||||
|
detect_usb_drive
|
||||||
${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME
|
${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME
|
||||||
any_key
|
any_key
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue