diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2014-10-28 16:29:29 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2014-10-28 16:29:29 +0100 |
commit | a33be327312ee5fd0981be65001074e72a7f3d81 (patch) | |
tree | fcd90e7fc10200867ff6235575f7343e5c0b67cd /applications/luci-shairplay/root | |
parent | 2826426c6a518867d695f05e514e41703deac3a1 (diff) |
applications/luci-shairplay: add new package.
This adds support for configuring shairplay.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'applications/luci-shairplay/root')
-rw-r--r-- | applications/luci-shairplay/root/etc/uci-defaults/luci-shairplay | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-shairplay/root/etc/uci-defaults/luci-shairplay b/applications/luci-shairplay/root/etc/uci-defaults/luci-shairplay new file mode 100644 index 0000000000..efc8a89bb0 --- /dev/null +++ b/applications/luci-shairplay/root/etc/uci-defaults/luci-shairplay @@ -0,0 +1,12 @@ +#!/bin/sh + +# needed for "Save and Apply" to restart shairplay +uci -q batch <<-EOF >/dev/null + delete ucitrack.@shairplay[-1] + add ucitrack shairplay + set ucitrack.@shairplay[-1].init="shairplay" + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |