up 修复aria2 服务不正常问题

This commit is contained in:
Pdboy Sir 2024-01-31 00:45:00 +08:00 committed by GitHub
parent 0556ecae48
commit 4f4b90e3ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@
end
end
local ar_state = (luci.sys.call("ps 2>/dev/null | grep aria2c 2>/dev/null | grep /usr/bin >/dev/null") == 0)
local ar_state = (luci.sys.call("busybox ps -w | grep aria2c 2>/dev/null | grep /usr/bin >/dev/null") == 0)
%>
<fieldset class="cbi-section">