diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 47c4139f..81e91712 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -195,6 +195,9 @@ function passwords_show_apps { name+=("$a") fi done + i=$((i+1)) + W+=($i "mariadb") + name+=("mariadb") 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,6 +248,12 @@ function view_or_change_passwords { fi fi + if [[ "${SELECTED_APP}" == 'mariadb' ]]; then + dialog --title $"MariaDB database password" \ + --msgbox $"${CURR_PASSWORD}" 6 50 + return + fi + data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --title "$titlestr" \