X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fmysql.helper;h=fc65359c0e0a53465cb976212d37ba5c01504d47;hb=2d6c8d3e9521aa4b53fb1650cd7fccb11d6e9d87;hp=759ee262f13ef48b2a7abebbf97dc03be4e75761;hpb=688e9521a4307ca8510e0a9e9cfada98cdabcd58;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/mysql.helper b/handlers/mysql.helper index 759ee26..fc65359 100644 --- a/handlers/mysql.helper +++ b/handlers/mysql.helper @@ -2,13 +2,16 @@ HELPERS="$HELPERS mysql:mysql_database_backup" do_mysql_user() { inputBox "mysql action wizard" "specify a system user:" + [ $? = 1 ] && return do_mysql_final "user = $REPLY" } do_mysql_password() { inputBox "mysql action wizard" "specify a mysql user:" + [ $? = 1 ] && return user=$REPLY inputBox "mysql action wizard" "specify the mysql user's password:" + [ $? = 1 ] && return password=$REPLY do_mysql_final "dbusername = $user\ndbpassword = $password" } @@ -20,6 +23,7 @@ do_mysql_debian() { do_mysql_user() { inputBox "mysql action wizard" "what system user does mysql backup use?" + [ $? = 1 ] && return do_mysql_final "user = $REPLY" }