summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nextdns/root/etc/uci-defaults/60_luci-nextdns
blob: 95fc92280e92b24e8a264cbac479ecebd52cd23b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@nextdns[-1]
	add ucitrack nextdns
	set ucitrack.@nextdns[-1].init=nextdns
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache
exit 0