luci-app-mosdns: don't use service
command to invocation init.d script
* The `service` command cannot be found on older openwrt derivatives * fix #66
This commit is contained in:
parent
47d0aae310
commit
222d145204
@ -81,7 +81,7 @@ geodat_update() (
|
|||||||
)
|
)
|
||||||
|
|
||||||
restart_service() {
|
restart_service() {
|
||||||
service mosdns restart
|
/etc/init.d/mosdns restart
|
||||||
}
|
}
|
||||||
|
|
||||||
case $script_action in
|
case $script_action in
|
||||||
|
Loading…
Reference in New Issue
Block a user