updated option.sh
let dnscrypt-proxy do its job only. Let Auto-redirection be done by some other application.
This commit is contained in:
parent
e284e3c95d
commit
34864025a0
|
@ -80,20 +80,20 @@ else
|
||||||
abort "First install have to choose replace mode"
|
abort "First install have to choose replace mode"
|
||||||
fi
|
fi
|
||||||
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 " "
|
# if $FUNCTION; then
|
||||||
ui_print " Vol+ = Auto redirect DNS request with iptables"
|
# ui_print " "
|
||||||
ui_print " "
|
# ui_print " Auto mode"
|
||||||
ui_print " Vol- = Set DNS manually with 3rd-party app"
|
# else
|
||||||
ui_print " "
|
# ui_print " "
|
||||||
|
# ui_print " Manual mode"
|
||||||
if $FUNCTION; then
|
# ui_print " deleting iptables rules"
|
||||||
ui_print " "
|
# sed -i -e '/#IPTABLES/,$d' $TMPDIR/service.sh
|
||||||
ui_print " Auto mode"
|
# sed -i -e "s/'127.0.0.1.*'/'127.0.0.1:53', '[::1]:53'/g" /data/media/0/dnscrypt-proxy/dnscrypt-proxy.toml
|
||||||
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
|
fi
|
||||||
|
|
Loading…
Reference in New Issue