initial commit of file from CVS for automysqlbackup on Thu Oct 9 11:35:36 AEDT 2025
This commit is contained in:
15
automysqlbackup-3.0.RC6.set-backup-dir.patch
Normal file
15
automysqlbackup-3.0.RC6.set-backup-dir.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -ruN automysqlbackup-3.0.RC6.old/root/usr/local/bin/automysqlbackup automysqlbackup-3.0.RC6/root/usr/local/bin/automysqlbackup
|
||||
--- automysqlbackup-3.0.RC6.old/root/usr/local/bin/automysqlbackup 2018-11-29 11:08:26.140497083 +0100
|
||||
+++ automysqlbackup-3.0.RC6/root/usr/local/bin/automysqlbackup 2018-11-29 11:32:05.998926410 +0100
|
||||
@@ -24,6 +24,11 @@
|
||||
ENCRYPT=$(/sbin/e-smith/config getprop automysqlbackup Encrypt)
|
||||
DBENCRYPT_PASSWORD=$(/sbin/e-smith/config getprop automysqlbackup Dbencrypt_password)
|
||||
BACKUP_LOCAL_FILES=$(/sbin/e-smith/config getprop automysqlbackup Backup_local_files)
|
||||
+
|
||||
+if [ -z "$BACKUPDIR" ]; then
|
||||
+ BACKUPDIR="/root/backup/db";
|
||||
+fi
|
||||
+
|
||||
###
|
||||
shopt -s extglob
|
||||
|
Reference in New Issue
Block a user