Rework LuCI build system
[project/luci.git] / applications / luci-app-dump1090 / root / etc / uci-defaults / luci-dump1090
1 #!/bin/sh
2
3 # needed for "Save and Apply" to restart dump1090
4 uci -q batch <<-EOF >/dev/null
5 delete ucitrack.@dump1090[-1]
6 add ucitrack dump1090
7 set ucitrack.@dump1090[-1].init="dump1090"
8 commit ucitrack
9 EOF
10
11 rm -f /tmp/luci-indexcache
12 exit 0