From 6b815b9e8530bf7a95f958827bfd2ebc3daeeb47 Mon Sep 17 00:00:00 2001 From: bluemeda Date: Tue, 30 Apr 2019 13:02:35 +0700 Subject: [PATCH] change path --- common/service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/service.sh b/common/service.sh index 9b97b66..46467b4 100755 --- a/common/service.sh +++ b/common/service.sh @@ -10,7 +10,7 @@ for i in 1 2 3 4 5 6 7 8 9 10 11 12; do ping -c 1 download.dnscrypt.info if [[ $? == 0 ]]; then - $MODDIR/system/bin/dnscrypt-proxy -config $MODDIR/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml & + $MODPATH/system/bin/dnscrypt-proxy -config $MODPATH/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml & sleep 15 iptables -t nat -A OUTPUT -p tcp ! -d 9.9.9.9 --dport 53 -j DNAT --to-destination 127.0.0.1:5354 iptables -t nat -A OUTPUT -p udp ! -d 9.9.9.9 --dport 53 -j DNAT --to-destination 127.0.0.1:5354