mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
shairport-sync: Update to 3.1.6
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user