Browse Source

Detect usb drive when creating keydrive

Bob Mottram 7 years ago
parent
commit
3ee2b0e2ed
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-controlpanel

+ 2
- 0
src/freedombone-controlpanel View File

1054
     dialog --title $"USB Master Keydrive" \
1054
     dialog --title $"USB Master Keydrive" \
1055
            --msgbox $"Plug in a LUKS encrypted USB drive" 6 40
1055
            --msgbox $"Plug in a LUKS encrypted USB drive" 6 40
1056
     clear
1056
     clear
1057
+    detect_usb_drive
1057
     ${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME --master 'yes'
1058
     ${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME --master 'yes'
1058
     any_key
1059
     any_key
1059
 }
1060
 }
1066
     dialog --title $"USB Fragment Keydrive" \
1067
     dialog --title $"USB Fragment Keydrive" \
1067
            --msgbox $"Plug in a LUKS encrypted USB drive" 6 40
1068
            --msgbox $"Plug in a LUKS encrypted USB drive" 6 40
1068
     clear
1069
     clear
1070
+    detect_usb_drive
1069
     ${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME
1071
     ${PROJECT_NAME}-keydrive -u $SELECTED_USERNAME
1070
     any_key
1072
     any_key
1071
 }
1073
 }