fix(init): remove unreferenced network trigger macro that caused install crash

This commit is contained in:
10000ge10000
2026-03-13 13:52:31 +08:00
parent af511b667c
commit b3d4b738f8
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ function action_status()
-- 如果端口未监听但 procd 进程存在,说明正在启动中 (gateway 初始化需要数分钟)
if not result.gateway_running and enabled == "1" then
local procd_pid = sys.exec("pgrep -f 'openclaw.*gateway|node.*openclaw.*gateway' 2>/dev/null | head -1"):gsub("%s+", "")
local procd_pid = sys.exec("pgrep -f 'openclaw.*gateway' 2>/dev/null | head -1"):gsub("%s+", "")
if procd_pid ~= "" then
result.gateway_starting = true
end