|
@@ -215,7 +215,8 @@ function passwords_select_user {
|
215
|
215
|
if [ $i -eq 1 ]; then
|
216
|
216
|
SELECTED_USERNAME="${name[0]}"
|
217
|
217
|
else
|
218
|
|
- user_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select User" --menu $"Select one of the following:" 24 40 17 "${W[@]}" 3>&2 2>&1 1>&3)
|
|
218
|
+ # shellcheck disable=SC2068
|
|
219
|
+ user_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select User" --menu $"Select one of the following:" 24 40 17 ${W[@]} 3>&2 2>&1 1>&3)
|
219
|
220
|
|
220
|
221
|
# shellcheck disable=SC2181
|
221
|
222
|
if [ $? -eq 0 ]; then
|
|
@@ -241,7 +242,8 @@ function passwords_show_apps {
|
241
|
242
|
W+=("$i" "mariadb")
|
242
|
243
|
name+=("mariadb")
|
243
|
244
|
|
244
|
|
- selected_app_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select App" --menu $"Select one of the following:" 24 40 17 "${W[@]}" 3>&2 2>&1 1>&3)
|
|
245
|
+ # shellcheck disable=SC2068
|
|
246
|
+ selected_app_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select App" --menu $"Select one of the following:" 24 40 17 ${W[@]} 3>&2 2>&1 1>&3)
|
245
|
247
|
|
246
|
248
|
# shellcheck disable=SC2181
|
247
|
249
|
if [ $? -eq 0 ]; then
|
|
@@ -617,7 +619,8 @@ function select_user {
|
617
|
619
|
if [ $i -eq 1 ]; then
|
618
|
620
|
SELECTED_USERNAME="${name[0]}"
|
619
|
621
|
else
|
620
|
|
- user_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select User" --menu $"Select one of the following:" 24 40 17 "${W[@]}" 3>&2 2>&1 1>&3)
|
|
622
|
+ # shellcheck disable=SC2068
|
|
623
|
+ user_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select User" --menu $"Select one of the following:" 24 40 17 ${W[@]} 3>&2 2>&1 1>&3)
|
621
|
624
|
|
622
|
625
|
# shellcheck disable=SC2181
|
623
|
626
|
if [ $? -eq 0 ]; then
|
|
@@ -762,7 +765,8 @@ function remove_user_from_mailing_list {
|
762
|
765
|
i=$((i+1))
|
763
|
766
|
W+=("$i" $"Exit back to user mainenance")
|
764
|
767
|
|
765
|
|
- list_selected=$(dialog --default-item "$i" --backtitle $"Freedombone Control Panel" --title $"Remove a mailing list for $SELECTED_USERNAME" --menu $"Select one of the following:" 24 50 17 "${W[@]}" 3>&2 2>&1 1>&3)
|
|
768
|
+ # shellcheck disable=SC2068
|
|
769
|
+ list_selected=$(dialog --default-item "$i" --backtitle $"Freedombone Control Panel" --title $"Remove a mailing list for $SELECTED_USERNAME" --menu $"Select one of the following:" 24 50 17 ${W[@]} 3>&2 2>&1 1>&3)
|
766
|
770
|
|
767
|
771
|
# shellcheck disable=SC2181
|
768
|
772
|
if [ $? -eq 0 ]; then # Exit with OK
|
|
@@ -1147,10 +1151,11 @@ function restore_data_from_storage {
|
1147
|
1151
|
n=$((n+1))
|
1148
|
1152
|
app_list+=("$ExitStr")
|
1149
|
1153
|
|
|
1154
|
+ # shellcheck disable=SC2086
|
1150
|
1155
|
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
1151
|
1156
|
--title "$RestoreStr" \
|
1152
|
1157
|
--radiolist $'Choose:' \
|
1153
|
|
- 30 50 20 "$applist")
|
|
1158
|
+ 30 50 20 $applist)
|
1154
|
1159
|
|
1155
|
1160
|
# shellcheck disable=SC2181
|
1156
|
1161
|
if [ $? -ne 0 ]; then
|
|
@@ -2246,10 +2251,11 @@ function menu_app_settings {
|
2246
|
2251
|
applist="$applist $n $backstr on"
|
2247
|
2252
|
appnames+=("Exit")
|
2248
|
2253
|
|
|
2254
|
+ # shellcheck disable=SC2086
|
2249
|
2255
|
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
2250
|
2256
|
--title $"Change settings for an App" \
|
2251
|
2257
|
--radiolist $'Choose:' \
|
2252
|
|
- 26 40 30 "$applist")
|
|
2258
|
+ 26 40 30 $applist)
|
2253
|
2259
|
|
2254
|
2260
|
# shellcheck disable=SC2181
|
2255
|
2261
|
if [ $? -eq 0 ]; then
|