1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

No error if VPN is set to none

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-11-05 21:17:55 +01:00
parent 5d01896434
commit 8e3a6ced89

View file

@ -804,6 +804,8 @@ function interfaces_status()
mArray.openmptcprouter["tun6_state"] = "DOWN"
end
end
elseif uci:get("openmptcprouter","settings","vpn") == "none" then
mArray.openmptcprouter["tun_service"] = true
end
-- check Shadowsocks is running