Skip to content
Snippets Groups Projects
Commit 43a84930 authored by Bob Mottram's avatar Bob Mottram
Browse files

Show database password

parent cc7f493e
No related branches found
No related tags found
No related merge requests found
......@@ -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" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment