From 34864025a062da905b4ae5e00bd14daf153ec30a Mon Sep 17 00:00:00 2001 From: George Daniel <51092143+lindroidux@users.noreply.github.com> Date: Thu, 13 Jun 2019 07:37:26 +0000 Subject: [PATCH] updated option.sh let dnscrypt-proxy do its job only. Let Auto-redirection be done by some other application. --- common/option.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/common/option.sh b/common/option.sh index 07525c5..79c9095 100755 --- a/common/option.sh +++ b/common/option.sh @@ -80,20 +80,20 @@ else abort "First install have to choose replace mode" 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 " " -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 +# 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