mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-23 03:02:32 +01:00
added cancel
This commit is contained in:
parent
67b5cf70d7
commit
7a145f8dd6
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user