Fix restart bug on asus router
This commit is contained in:
@@ -54,7 +54,7 @@ case "$1" in
|
|||||||
stop)
|
stop)
|
||||||
clear_iptable
|
clear_iptable
|
||||||
pid="`cat $SMARTDNS_PID 2>/dev/null`"
|
pid="`cat $SMARTDNS_PID 2>/dev/null`"
|
||||||
kill -TERM $pid 2>/dev/null
|
kill -9 $pid 2>/dev/null
|
||||||
;;
|
;;
|
||||||
force-reload|restart)
|
force-reload|restart)
|
||||||
$0 stop
|
$0 stop
|
||||||
|
|||||||
Reference in New Issue
Block a user