luci-app-mosdns: init.d: sent terminate signal by procd
This commit is contained in:
parent
d5cf333653
commit
c19992b483
@ -156,7 +156,6 @@ start_service() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop_service() {
|
stop_service() {
|
||||||
pgrep -f /usr/bin/mosdns | xargs kill -9 >/dev/null 2>&1
|
|
||||||
config_load "mosdns"
|
config_load "mosdns"
|
||||||
config_foreach get_config "mosdns"
|
config_foreach get_config "mosdns"
|
||||||
[ "$enabled" = "0" ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting
|
[ "$enabled" = "0" ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting
|
||||||
|
Loading…
Reference in New Issue
Block a user