Browse Source

openwrt init.d: remove command not found error

pull/457/head
bol-van 6 months ago
parent
commit
88a9f16b8a
  1. 3
      init.d/openwrt/zapret

3
init.d/openwrt/zapret

@ -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…
Cancel
Save