Browse Source

Fix restart bug on asus router

Nick Peng 7 years ago
parent
commit
b387940c19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/optware/S50smartdns

+ 1 - 1
package/optware/S50smartdns

@@ -54,7 +54,7 @@ case "$1" in
 	stop)
 	clear_iptable
 	pid="`cat $SMARTDNS_PID 2>/dev/null`"
-	kill -TERM $pid 2>/dev/null
+	kill -9 $pid 2>/dev/null
 	;;
 	force-reload|restart)
 	$0 stop