git-svn-id: http://code.autistici.org/svn/backupninja/trunk@140
758a04ac-41e6-0310-8a23-
8373a73cc35d
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"
}
do_mysql_user() {
inputBox "mysql action wizard" "what system user does mysql backup use?"
+ [ $? = 1 ] && return
do_mysql_final "user = $REPLY"
}