summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr
blob: 63c01e4a2c3b85d4dcbac490248a3a9ea92502ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

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

rm -f /tmp/luci-indexcache
exit 0