1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-05 13:28:18 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/etc/init.d/S91mycroft_services
Peter Steenbergen 55846e484a MycroftOS: Implementation of a very first initial bootable version
- 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.
2018-10-30 15:55:12 +01:00

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 $?