From bc3d324af2e17a4c5efa49558f7fa3a13df936de Mon Sep 17 00:00:00 2001 From: Zackptg5 Date: Wed, 21 Mar 2018 13:38:47 -0400 Subject: [PATCH] revert sleep --- common/service.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/service.sh b/common/service.sh index 2f14fd8..7ac89b5 100755 --- a/common/service.sh +++ b/common/service.sh @@ -10,7 +10,8 @@ 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/xbin/dnscrypt-proxy -config $MODDIR/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml && sleep 5 + $MODDIR/system/xbin/dnscrypt-proxy -config $MODDIR/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml & + sleep 5 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;