mirror of https://github.com/aredn/aredn.git
Make sure we copy /etc/config/vtun to /etc/config.mesh/vtun when installing tunnels. (#299)
This commit is contained in:
parent
ad78e077f0
commit
3595dd3ac2
|
@ -183,6 +183,7 @@ function install_vtun()
|
|||
cursor:add("vtun", "options")
|
||||
cursor:add("vtun", "network")
|
||||
cursor:commit("vtun")
|
||||
write_all("/etc/config.mesh/vtun", read_all("/etc/config/vtun"))
|
||||
|
||||
http_header()
|
||||
html.header("TUNNEL INSTALLATION IN PROGRESS", true)
|
||||
|
|
|
@ -168,6 +168,7 @@ function install_vtun()
|
|||
cursor:add("vtun", "options")
|
||||
cursor:add("vtun", "network")
|
||||
cursor:commit("vtun")
|
||||
write_all("/etc/config.mesh/vtun", read_all("/etc/config/vtun"))
|
||||
|
||||
http_header()
|
||||
html.header("TUNNEL INSTALLATION IN PROGRESS", true)
|
||||
|
|
Loading…
Reference in New Issue