mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-app-libreswan: upgrade uci-defaults for ucitrack handling to use json
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@libreswan[-1]
|
||||
add ucitrack libreswan
|
||||
set ucitrack.@libreswan[-1].init=ipsec
|
||||
commit ucitrack
|
||||
EOF
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "libreswan",
|
||||
"init": "ipsec"
|
||||
}
|
||||
Reference in New Issue
Block a user