Show usb drive path

This commit is contained in:
Bob Mottram 2016-10-25 10:52:45 +01:00
parent 05cb1404da
commit 79c5113a0f
1 changed files with 3 additions and 1 deletions

View File

@ -871,6 +871,7 @@ function restore_data_from_storage {
AllStr=$"all"
ExitStr=$"Exit"
RestoreStr=$"Restore apps"
if [[ $restore_type != "local" ]]; then
restore_command="${PROJECT_NAME}-restore-remote $remote_domain_name configuration;;"
@ -878,6 +879,7 @@ function restore_data_from_storage {
remote_domain_name="$1"
detect_usb_drive
restore_command="${PROJECT_NAME}-restore-local $USB_DRIVE"
RestoreStr=$"Restore apps from USB drive $USB_DRIVE"
fi
utils_installed=(configfiles
@ -930,7 +932,7 @@ function restore_data_from_storage {
app_list+=("$ExitStr")
choice=$(dialog --stdout --backtitle $"Freedombone" \
--title $"Restore apps" \
--title "$RestoreStr" \
--radiolist $'Choose:' \
30 40 20 $applist)