|
@@ -195,6 +195,9 @@ function passwords_show_apps {
|
195
|
195
|
name+=("$a")
|
196
|
196
|
fi
|
197
|
197
|
done
|
|
198
|
+ i=$((i+1))
|
|
199
|
+ W+=($i "mariadb")
|
|
200
|
+ name+=("mariadb")
|
198
|
201
|
|
199
|
202
|
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)
|
200
|
203
|
|
|
@@ -245,6 +248,12 @@ function view_or_change_passwords {
|
245
|
248
|
fi
|
246
|
249
|
fi
|
247
|
250
|
|
|
251
|
+ if [[ "${SELECTED_APP}" == 'mariadb' ]]; then
|
|
252
|
+ dialog --title $"MariaDB database password" \
|
|
253
|
+ --msgbox $"${CURR_PASSWORD}" 6 50
|
|
254
|
+ return
|
|
255
|
+ fi
|
|
256
|
+
|
248
|
257
|
data=$(tempfile 2>/dev/null)
|
249
|
258
|
trap "rm -f $data" 0 1 2 5 15
|
250
|
259
|
dialog --title "$titlestr" \
|