mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 07:35:13 +08:00
update 2026-08-11 16:47:57
This commit is contained in:
1 parent
c63c46f0ce
commit
903417940c
1954 files changed
+1523037
-30
No files matched your search
@@ -394,7 +394,7 @@ function socks_status()
|
||||
e.use_http = 0
|
||||
if tonumber(use_http) > 0 then
|
||||
e.use_http = 1
|
||||
e.http_status = luci.sys.call(string.format("/bin/busybox top -bn1 | grep -v 'grep' | grep '/tmp/etc/passwall/bin/' | grep -v '_acl_' | grep '%s' | grep -E 'HTTP_|HTTP2SOCKS' > /dev/null", id)) == 0
|
||||
e.http_status = luci.sys.call(string.format("/bin/busybox top -bn1 | grep -v -E 'grep|acl/|acl_' | grep '%s/bin/' | grep '%s' | grep -E '\\+http|_http' > /dev/null", appname, id)) == 0
|
||||
end
|
||||
http_write_json(e)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user