projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf1817d
)
mysql helper bugfix: write yes/no to config file instead of on/off, that are not...
author
intrigeri
<intrigeri@boum.org>
Sat, 3 Sep 2005 18:57:37 +0000
(18:57 +0000)
committer
intrigeri
<intrigeri@boum.org>
Sat, 3 Sep 2005 18:57:37 +0000
(18:57 +0000)
handlers/mysql.helper
patch
|
blob
|
history
diff --git
a/handlers/mysql.helper
b/handlers/mysql.helper
index fc65359c0e0a53465cb976212d37ba5c01504d47..554464b12412570abb15f3b9969281f7a7b7da96 100644
(file)
--- a/
handlers/mysql.helper
+++ b/
handlers/mysql.helper
@@
-30,28
+30,28
@@
do_mysql_user() {
do_mysql_final() {
if [ -z "$_DISABLE_HOTCOPY" ]; then
checkBox "mysql action wizard" "check options" \
do_mysql_final() {
if [ -z "$_DISABLE_HOTCOPY" ]; then
checkBox "mysql action wizard" "check options" \
- "sqldump" "create a backup using mysqldump (more compat)."
off
\
- "hotcopy" "create a backup using mysqlhotcopy (faster)."
on
\
- "compress" "compress the sql output files"
on
+ "sqldump" "create a backup using mysqldump (more compat)."
no
\
+ "hotcopy" "create a backup using mysqlhotcopy (faster)."
yes
\
+ "compress" "compress the sql output files"
yes
status=$?
status=$?
- sqldump="sqldump =
off
"
- hotcopy="hotcopy =
off
"
+ sqldump="sqldump =
no
"
+ hotcopy="hotcopy =
no
"
else
checkBox "mysql action wizard" "check options" \
else
checkBox "mysql action wizard" "check options" \
- "compress" "compress the sql output files"
on
+ "compress" "compress the sql output files"
yes
status=$?
status=$?
- sqldump="sqldump =
on
"
- hotcopy="hotcopy =
off
"
+ sqldump="sqldump =
yes
"
+ hotcopy="hotcopy =
no
"
fi
[ $status = 1 ] && return;
result="$REPLY"
fi
[ $status = 1 ] && return;
result="$REPLY"
- compress="compress =
off
"
+ compress="compress =
no
"
for opt in $result; do
case $opt in
for opt in $result; do
case $opt in
- '"sqldump"') sqldump="sqldump =
on
";;
- '"hotcopy"') hotcopy="hotcopy =
on
";;
- '"compress"') compress="compress =
on
";;
+ '"sqldump"') sqldump="sqldump =
yes
";;
+ '"hotcopy"') hotcopy="hotcopy =
yes
";;
+ '"compress"') compress="compress =
yes
";;
esac
done
get_next_filename $configdirectory/20.mysql
esac
done
get_next_filename $configdirectory/20.mysql