From 486b374b7ce696b7d3dae2aa65bae41bc655bb83 Mon Sep 17 00:00:00 2001 From: bluemeda Date: Sat, 31 Mar 2018 13:20:59 +0700 Subject: [PATCH] add more time to make sure dnscrypt-proxy works well --- common/service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/service.sh b/common/service.sh index 7ac89b5..7fabb9d 100755 --- a/common/service.sh +++ b/common/service.sh @@ -11,7 +11,7 @@ for i in 1 2 3 4 5 6 7 8 9 10 11 12; do if [[ $? == 0 ]]; then $MODDIR/system/xbin/dnscrypt-proxy -config $MODDIR/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml & - sleep 5 + sleep 15 iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:5354 iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:5354 break;