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