Changed the way to backup an existing .toml file

Removed unused code
This commit is contained in:
quindecim 2019-10-30 12:26:11 -04:00
parent 8b25264344
commit 5c429822e3
1 changed files with 1 additions and 3 deletions

View File

@ -15,5 +15,3 @@ CONFIG_FILE="/data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml"
## quindecim
cp -afv $CONFIG_FILE ${CONFIG_FILE}-`date +%Y%m%d%H%M`.bak
fi
cp -afv /data/media/0/dnscrypt-proxy/my-dnscrypt-proxy.toml $CONFIG_FILE