Add an initscript for Raspian/Debian/Ubuntu installation.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
bin_PROGRAMS = shairport
|
||||
shairport_SOURCES = shairport.c rtsp.c mdns.c mdns_external.c mdns_tinysvcmdns.c common.c rtp.c player.c alac.c audio.c audio_dummy.c audio_pipe.c tinysvcmdns.c mdns_avahi.c
|
||||
|
||||
install-exec-hook:
|
||||
cp scripts/shairport /etc/init.d/
|
||||
update-rc.d shairport defaults 90 10
|
||||
|
||||
if USE_ALSA
|
||||
shairport_SOURCES += audio_alsa.c
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user