luci-app-mosdns: init.d: fix typo
This commit is contained in:
parent
7a01738cf8
commit
88d1ea7c46
@ -144,7 +144,7 @@ start_service() {
|
|||||||
stop_service() {
|
stop_service() {
|
||||||
pgrep -f /usr/bin/mosdns | xargs kill -9 >/dev/null 2>&1
|
pgrep -f /usr/bin/mosdns | xargs kill -9 >/dev/null 2>&1
|
||||||
config_load "mosdns"
|
config_load "mosdns"
|
||||||
config_foreach get_config "config"
|
config_foreach get_config "mosdns"
|
||||||
[ "$enabled" = "0" ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting
|
[ "$enabled" = "0" ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting
|
||||||
reload_others
|
reload_others
|
||||||
delcron
|
delcron
|
||||||
|
Loading…
Reference in New Issue
Block a user