From 3fbfa307c4400f5a36685b2c4ac46bc46536e4e2 Mon Sep 17 00:00:00 2001 From: quindecim Date: Sat, 7 Dec 2019 05:29:11 -0500 Subject: [PATCH] Fix config backup --- common/option.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/option.sh b/common/option.sh index 9b40670..fd2a2ae 100644 --- a/common/option.sh +++ b/common/option.sh @@ -1,10 +1,10 @@ -CONFIG_FILE="/data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml" +# CONFIG_FILE="/data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml" - if [ -f "$CONFIG_FILE" ]; then + # if [ -f "$CONFIG_FILE" ]; then ## bluemeda - ui_print "* Backing up config file" + # ui_print "* Backing up config file" # cp -afv $CONFIG_FILE $TMPDIR # ui_print "* Restoring config files" # cp -af $TMPDIR/dnscrypt-proxy.toml $CONFIG_FILE @@ -13,5 +13,5 @@ CONFIG_FILE="/data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml" # sed -i -e 's/\[::1\]:53/\[::1\]:5354/g' $CONFIG_FILE ## quindecim - cp -afv $CONFIG_FILE ${CONFIG_FILE}-`date +%Y%m%d%H%M`.bak - fi \ No newline at end of file + # cp -afv $CONFIG_FILE ${CONFIG_FILE}-`date +%Y%m%d%H%M`.bak + # fi \ No newline at end of file