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

Merge branch 'test' into develop

This commit is contained in:
suyuan 2021-05-11 13:10:05 +08:00
commit 0f87176423
105 changed files with 13129 additions and 1067 deletions

View file

@ -535,7 +535,8 @@ function update_vps()
local vpsgettoken = sys.exec("/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null")
ucic:foreach("openmptcprouter", "server", function(section)
local servername = section[".name"]
local serverip = section["ip"] or ""
local serverips = section["ip"]
local serverip = serverips[1]
local adminport = section["port"] or "65500"
local token = section["token"] or ""
if token ~= "" then