mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 02:45:13 +08:00
🍓 Sync 2026-08-11 20:54:16
This commit is contained in:
1 parent
bb66713991
commit
babe17d95d
23 files changed
+228
-213
No files matched your search
@@ -471,7 +471,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