mirror of
https://github.com/Dichgrem/luci-app-nyn.git
synced 2025-12-16 21:52:00 -05:00
fix:use_musl
fix:arch_x86_64
This commit is contained in:
@@ -24,11 +24,11 @@ function service_control()
|
||||
if action then
|
||||
local cmd = ""
|
||||
if action == "start" then
|
||||
cmd = "/etc/rc.d/S99zzz start"
|
||||
cmd = "/etc/rc.d/zzz start"
|
||||
elseif action == "stop" then
|
||||
cmd = "/etc/rc.d/S99zzz stop"
|
||||
cmd = "/etc/rc.d/zzz stop"
|
||||
elseif action == "restart" then
|
||||
cmd = "/etc/rc.d/S99zzz stop && sleep 2 && /etc/rc.d/S99zzz start"
|
||||
cmd = "/etc/rc.d/zzz stop && sleep 2 && /etc/rc.d/zzz start"
|
||||
end
|
||||
|
||||
if cmd ~= "" then
|
||||
|
||||
Reference in New Issue
Block a user