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

# needed for "Save and Apply" to restart dump1090
uci -q batch <<-EOF >/dev/null
	delete ucitrack.@dump1090[-1]
	add ucitrack dump1090
	set ucitrack.@dump1090[-1].init="dump1090"
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache
exit 0