summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-p2pblock/root/etc/uci-defaults/luci-p2pblock
blob: 030ebbed175c9eadc7261c224d73114d545365f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

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

rm -f /tmp/luci-indexcache
exit 0