mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-08 07:28:11 +01:00
55846e484a
- Add Buildroot patches to downgrade / upgrade package dependencies in line with the Mycroft A.I. software stack requirements. - Add buildroot additional package dependencies in line with the Mycroft A.I. software stack requirements. - Update rpi3 defconfig file. - Implement initial root_fs overlay filestructure. - Addition of some quick and dirty helper scripts. - Update of README to reflect these changes.
40 lines
411 B
Bash
Executable File
40 lines
411 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Starts pulseaudio.
|
|
#
|
|
|
|
|
|
start() {
|
|
printf "Starting pulseaudio: "
|
|
umask 007
|
|
/usr/bin/pulseaudio --system --daemonize --disallow-exit
|
|
echo "OK"
|
|
}
|
|
stop() {
|
|
printf "Stopping pulseaudio: "
|
|
pulseaudio --kill
|
|
echo "OK"
|
|
}
|
|
restart() {
|
|
stop
|
|
start
|
|
}
|
|
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
stop)
|
|
stop
|
|
;;
|
|
restart|reload)
|
|
restart
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|
|
|