mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-29 12:50:33 +05:00
openwrt init.d: remove command not found error
This commit is contained in:
parent
9d797f3dbc
commit
88a9f16b8a
@ -185,7 +185,8 @@ start_daemons()
|
||||
}
|
||||
stop_daemons()
|
||||
{
|
||||
procd_kill "$(basename ${basescript:-$initscript})" "$1"
|
||||
local svc="$(basename ${basescript:-$initscript})"
|
||||
procd_running "$svc" "$1" && procd_kill "$svc" "$1"
|
||||
}
|
||||
restart_daemons()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user