updated option.sh

updated option.sh
This commit is contained in:
George Daniel 2019-06-13 08:47:22 +00:00 committed by GitHub
parent 7d80fb3016
commit fb27a7c18a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 19 deletions

View File

@ -15,22 +15,3 @@ CONFIG_FILE=/data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml
sed -i -e 's/\[::1\]:53/\[::1\]:5354/g' $CONFIG_FILE sed -i -e 's/\[::1\]:53/\[::1\]:5354/g' $CONFIG_FILE
fi fi
# let dnscrypt-proxy do its job only. Let Auto-redirection be done by some other application.
# ui_print " "
# ui_print " Vol+ = Auto redirect DNS request with iptables"
# ui_print " "
# ui_print " Vol- = Set DNS manually with 3rd-party app"
# ui_print " "
# if $FUNCTION; then
# ui_print " "
# ui_print " Auto mode"
# else
# ui_print " "
# ui_print " Manual mode"
# ui_print " deleting iptables rules"
# sed -i -e '/#IPTABLES/,$d' $TMPDIR/service.sh
# sed -i -e "s/'127.0.0.1.*'/'127.0.0.1:53', '[::1]:53'/g" /data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml
fi