mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix, add proxy in status json and add encryption in uci settings
This commit is contained in:
parent
89f028597d
commit
2b59c7ae22
3 changed files with 18 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue