1 |
diff -ruN automysqlbackup-3.0.RC6.old/root/usr/local/bin/automysqlbackup automysqlbackup-3.0.RC6/root/usr/local/bin/automysqlbackup |
2 |
--- automysqlbackup-3.0.RC6.old/root/usr/local/bin/automysqlbackup 2018-11-29 11:08:26.140497083 +0100 |
3 |
+++ automysqlbackup-3.0.RC6/root/usr/local/bin/automysqlbackup 2018-11-29 11:32:05.998926410 +0100 |
4 |
@@ -24,6 +24,11 @@ |
5 |
ENCRYPT=$(/sbin/e-smith/config getprop automysqlbackup Encrypt) |
6 |
DBENCRYPT_PASSWORD=$(/sbin/e-smith/config getprop automysqlbackup Dbencrypt_password) |
7 |
BACKUP_LOCAL_FILES=$(/sbin/e-smith/config getprop automysqlbackup Backup_local_files) |
8 |
+ |
9 |
+if [ -z "$BACKUPDIR" ]; then |
10 |
+ BACKUPDIR="/root/backup/db"; |
11 |
+fi |
12 |
+ |
13 |
### |
14 |
shopt -s extglob |
15 |
|