1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge pull request #339 from Ysurac/develop

sync
This commit is contained in:
suyuan 2023-08-05 10:50:03 +08:00 committed by GitHub
commit 6b4b1d703d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 42 additions and 22 deletions

View file

@ -1035,7 +1035,9 @@ function interfaces_status()
mArray.openmptcprouter["multi_vpn"] = true
end
end
if uci:get("openmptcprouter","settings","vpn") ~= "none" then
mArray.openmptcprouter["vpn"]= uci:get("openmptcprouter","settings","vpn")
end
-- check Shadowsocks is running
mArray.openmptcprouter["shadowsocks_service"] = false
if string.find(sys.exec("/usr/bin/pgrep ss-redir"), "%d+") then