shairport-sync: Update to 3.1.6

Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
Ted Hess
2017-12-18 13:46:58 -05:00
parent d4ea92b721
commit 54927ab1df
4 changed files with 9 additions and 404 deletions
@@ -1,13 +1,13 @@
# Use your own config file
config shairport-sync 'shairport_sync_file'
option disabled '1'
option enabled '0'
option respawn '1'
option conf_custom '1'
option conf_file '/etc/shairport-sync.conf'
# Use OpenWrt UCI config
config shairport-sync 'shairport_sync'
option disabled '1'
option enabled '0'
option respawn '1'
# General
option name 'Shairport-Sync-%v-%h'
@@ -31,8 +31,8 @@ start_instance() {
local cfg=$1
local conf_custom conf_file aux
config_get_bool aux "$cfg" 'disabled' '0'
[ "$aux" = 1 ] && return 1
config_get_bool aux "$cfg" 'enabled' '0'
[ "$aux" = 0 ] && return 1
config_get_bool conf_custom "$cfg" 'conf_custom' '0'
config_get conf_file "$cfg" "conf_file"