mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Keep vpn enable even with no key
This commit is contained in:
parent
58d4668e4b
commit
5e8690d4b5
1 changed files with 2 additions and 2 deletions
|
@ -439,7 +439,7 @@ function wizard_add()
|
|||
ucic:set("network","omrvpn","proto","none")
|
||||
else
|
||||
ucic:set("glorytun","vpn","key","")
|
||||
ucic:set("glorytun","vpn","enable",0)
|
||||
--ucic:set("glorytun","vpn","enable",0)
|
||||
ucic:set("glorytun","vpn","proto","tcp")
|
||||
end
|
||||
ucic:save("glorytun")
|
||||
|
@ -463,7 +463,7 @@ function wizard_add()
|
|||
ucic:set("network","omrvpn","proto","none")
|
||||
else
|
||||
ucic:set("dsvpn","vpn","key","")
|
||||
ucic:set("dsvpn","vpn","enable",0)
|
||||
--ucic:set("dsvpn","vpn","enable",0)
|
||||
end
|
||||
ucic:save("dsvpn")
|
||||
ucic:commit("dsvpn")
|
||||
|
|
Loading…
Reference in a new issue