Show usb drive path
This commit is contained in:
parent
05cb1404da
commit
79c5113a0f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue