luci-app-openvpn: fix template based config creation
* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1eb3f734c7
)
This commit is contained in:
parent
69325c11b5
commit
b3cbe89b29
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
|
||||
uci:section(
|
||||
"openvpn", "openvpn", name,
|
||||
uci:get_all( "openvpn_recipes", recipe )
|
||||
{ uci:get_all( "openvpn_recipes", recipe ) }
|
||||
)
|
||||
|
||||
uci:delete("openvpn", name, "_role")
|
||||
|
|
Loading…
Reference in a new issue