Show usb drive path
This commit is contained in:
parent
05cb1404da
commit
79c5113a0f
|
@ -871,6 +871,7 @@ function restore_data_from_storage {
|
||||||
|
|
||||||
AllStr=$"all"
|
AllStr=$"all"
|
||||||
ExitStr=$"Exit"
|
ExitStr=$"Exit"
|
||||||
|
RestoreStr=$"Restore apps"
|
||||||
|
|
||||||
if [[ $restore_type != "local" ]]; then
|
if [[ $restore_type != "local" ]]; then
|
||||||
restore_command="${PROJECT_NAME}-restore-remote $remote_domain_name configuration;;"
|
restore_command="${PROJECT_NAME}-restore-remote $remote_domain_name configuration;;"
|
||||||
|
@ -878,6 +879,7 @@ function restore_data_from_storage {
|
||||||
remote_domain_name="$1"
|
remote_domain_name="$1"
|
||||||
detect_usb_drive
|
detect_usb_drive
|
||||||
restore_command="${PROJECT_NAME}-restore-local $USB_DRIVE"
|
restore_command="${PROJECT_NAME}-restore-local $USB_DRIVE"
|
||||||
|
RestoreStr=$"Restore apps from USB drive $USB_DRIVE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
utils_installed=(configfiles
|
utils_installed=(configfiles
|
||||||
|
@ -930,7 +932,7 @@ function restore_data_from_storage {
|
||||||
app_list+=("$ExitStr")
|
app_list+=("$ExitStr")
|
||||||
|
|
||||||
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
||||||
--title $"Restore apps" \
|
--title "$RestoreStr" \
|
||||||
--radiolist $'Choose:' \
|
--radiolist $'Choose:' \
|
||||||
30 40 20 $applist)
|
30 40 20 $applist)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue