lede/package/lean/luci-app-airplay2/root/etc/uci-defaults/99_luci-shairport-sync
Wu SiYu 81d712944d
package: enhance luci-app-airplay2 (#7990)
feature: add allow_session_interruption and session_timeout option
bugfix: restart shairport-sync when new setting submitted on luci
enhance: some text change and file rename
2021-10-04 22:24:38 +08:00

12 lines
218 B
Bash
Executable File

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@shairport-sync[-1]
add ucitrack shairport-sync
set ucitrack.@shairport-sync[-1].init=shairport-sync
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0