UDP nat bug-fix

This commit is contained in:
Nick Peng
2018-06-18 14:40:35 +08:00
parent 7b62739c13
commit 2fec5f7e14
5 changed files with 151 additions and 95 deletions

View File

@@ -11,6 +11,7 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /etc/default/smartdns
SMARTDNS=/usr/sbin/smartdns
PIDFILE=/var/run/smartdns.pid
@@ -18,7 +19,7 @@ test -x $SMARTDNS || exit 5
case $1 in
start)
$SMARTDNS $JAIL_SHELL_OPTS
$SMARTDNS $SMART_DNS_OPTS
while true; do
if [ -e "$PIDFILE" ]; then
break;