Merge pull request #2149 from dibdot/openvpn-fix
luci-app-openvpn: fix template based config creation
This commit is contained in:
commit
5cb6c1c698
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function s.create(self, name)
|
||||||
if #name > 3 and not name:match("[^a-zA-Z0-9_]") then
|
if #name > 3 and not name:match("[^a-zA-Z0-9_]") then
|
||||||
uci:section(
|
uci:section(
|
||||||
"openvpn", "openvpn", name,
|
"openvpn", "openvpn", name,
|
||||||
uci:get_all( "openvpn_recipes", recipe )
|
{ uci:get_all( "openvpn_recipes", recipe ) }
|
||||||
)
|
)
|
||||||
|
|
||||||
uci:delete("openvpn", name, "_role")
|
uci:delete("openvpn", name, "_role")
|
||||||
|
|
Loading…
Reference in a new issue