luci/applications/luci-app-shairplay/root/etc/uci-defaults/luci-shairplay
Jo-Philipp Wich 1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00

12 lines
251 B
Bash

#!/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