projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
be9412bac8f2e3b5ba540ebdc931808dc76c7467
[project/luci.git]
/
applications
/
luci-app-shairport
/
root
/
etc
/
uci-defaults
/
40_luci-shairport
1
#!/bin/sh
2
3
# needed for "Save and Apply" to restart shairport
4
uci -q batch <<-EOF >/dev/null
5
delete ucitrack.@shairport[-1]
6
add ucitrack shairport
7
set ucitrack.@shairport[-1].init="shairport"
8
commit ucitrack
9
EOF
10
11
rm -f /tmp/luci-indexcache
12
exit 0