Add install-exec-hook script to install /etc/shairport-sync.conf.example and shairport-sync.conf if it's not already there.
This commit is contained in:
@@ -40,6 +40,8 @@ endif
|
||||
|
||||
if INSTALL_INITSCRIPT
|
||||
install-exec-hook:
|
||||
cp scripts/shairport-sync.conf /etc/shairport-sync.conf.sample
|
||||
[ -f /etc/shairport-sync.conf ] || cp scripts/shairport-sync.conf /etc/shairport-sync.conf
|
||||
[ -f /etc/init.d/shairport-sync ] || cp scripts/shairport-sync /etc/init.d/
|
||||
update-rc.d shairport-sync defaults 90 10
|
||||
endif
|
||||
|
||||
@@ -16,7 +16,7 @@ general =
|
||||
// log_verbosity = 0; // "0" means no verbosity, "3" is highest.
|
||||
};
|
||||
|
||||
latency =
|
||||
latencies =
|
||||
{
|
||||
// default = 88200;
|
||||
// itunes = 99400;
|
||||
|
||||
Reference in New Issue
Block a user