projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed sys handler bracket problem
[matthijs/upstream/backupninja.git]
/
handlers
/
mysql.helper
diff --git
a/handlers/mysql.helper
b/handlers/mysql.helper
index 765f22889350b88e133605aefa1125e1ce7ad37d..fc65359c0e0a53465cb976212d37ba5c01504d47 100644
(file)
--- a/
handlers/mysql.helper
+++ b/
handlers/mysql.helper
@@
-1,13
+1,17
@@
+HELPERS="$HELPERS mysql:mysql_database_backup"
do_mysql_user() {
inputBox "mysql action wizard" "specify a system user:"
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:"
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:"
user=$REPLY
inputBox "mysql action wizard" "specify the mysql user's password:"
+ [ $? = 1 ] && return
password=$REPLY
do_mysql_final "dbusername = $user\ndbpassword = $password"
}
password=$REPLY
do_mysql_final "dbusername = $user\ndbpassword = $password"
}
@@
-19,6
+23,7
@@
do_mysql_debian() {
do_mysql_user() {
inputBox "mysql action wizard" "what system user does mysql backup use?"
do_mysql_user() {
inputBox "mysql action wizard" "what system user does mysql backup use?"
+ [ $? = 1 ] && return
do_mysql_final "user = $REPLY"
}
do_mysql_final "user = $REPLY"
}