luci-shairplay 251 B

123456789101112
  1. #!/bin/sh
  2. # needed for "Save and Apply" to restart shairplay
  3. uci -q batch <<-EOF >/dev/null
  4. delete ucitrack.@shairplay[-1]
  5. add ucitrack shairplay
  6. set ucitrack.@shairplay[-1].init="shairplay"
  7. commit ucitrack
  8. EOF
  9. rm -f /tmp/luci-indexcache
  10. exit 0