mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-05 13:28:18 +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.
38 lines
421 B
Bash
Executable File
38 lines
421 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Starts Mycroft services.
|
|
#
|
|
|
|
start() {
|
|
printf "Starting Mycroft services: "
|
|
umask 077
|
|
bash /usr/bin/start-mycroft.sh all
|
|
echo "OK"
|
|
}
|
|
stop() {
|
|
printf "Stopping Mycroft services: "
|
|
bash /usr/bin/stop-mycroft.sh all
|
|
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 $?
|