STOP=10
USE_PROCD=1
-PROG=/usr/bin/oss-streamer
+PROG=/usr/bin/soundstream
error() {
echo "${initscript}:" "$@" 1>&2
start_instance() {
procd_open_instance
- procd_set_param command "$PROG" -p 8081 -d /dev/dsp
+ procd_set_param command "$PROG"
procd_close_instance
}
start_instance 'oss-streamer'
}
+stop_service() {
+ killall arecord
+ killall oss-streamer
+}
+
service_triggers() {
procd_add_reload_trigger 'oss-streamer'
}