#!/bin/bash -e
# reconfigure: yes
# reconfigure-title: Remote Database Access
# reconfigure-description: Change the MariaDB remote account password.
# set mysql root password

. /etc/default/inithooks

[ -e $INITHOOKS_CONF ] && . $INITHOOKS_CONF
$INITHOOKS_PATH/bin/mysqlconf.py --user=remote --host=% --pass="$DB_PASS"
