|
@@ -550,12 +550,11 @@ function hubzilla_channel_directory_server {
|
550
|
550
|
}
|
551
|
551
|
|
552
|
552
|
function format_drive {
|
553
|
|
- drive=
|
554
|
|
-
|
|
553
|
+ drive=
|
555
|
554
|
data=$(tempfile 2>/dev/null)
|
556
|
555
|
trap "rm -f $data" 0 1 2 5 15
|
557
|
556
|
dialog --backtitle "Freedombone Control Panel" \
|
558
|
|
- --title "Format a USB drive" \
|
|
557
|
+ --title "Format a USB drive (LUKS encrypted)" \
|
559
|
558
|
--radiolist "Choose a drive:" 14 70 5 \
|
560
|
559
|
1 "sda (Beaglebone Black)" off \
|
561
|
560
|
2 "sdb" off \
|
|
@@ -605,7 +604,7 @@ function menu_backup_restore {
|
605
|
604
|
5 "Restore from remote backup" off \
|
606
|
605
|
6 "Backup GPG key to USB (master keydrive)" off \
|
607
|
606
|
7 "Backup GPG key to USB (fragment keydrive)" off \
|
608
|
|
- 8 "Format a USB drive" off \
|
|
607
|
+ 8 "Format a USB drive (LUKS encrypted)" off \
|
609
|
608
|
9 "Back to main menu" on 2> $data
|
610
|
609
|
sel=$?
|
611
|
610
|
case $sel in
|
|
@@ -620,7 +619,7 @@ function menu_backup_restore {
|
620
|
619
|
5) restore_data_remote;;
|
621
|
620
|
6) create_keydrive_master;;
|
622
|
621
|
7) create_keydrive_fragment;;
|
623
|
|
- 7) format_drive;;
|
|
622
|
+ 8) format_drive;;
|
624
|
623
|
9) break;;
|
625
|
624
|
esac
|
626
|
625
|
done
|