1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-06-26 21:19:01 +02:00
cdf2018-principal/raspberrypi/board/robotech/cdfprincipal/rootfs_overlay/etc/init.d/S90extra
2018-04-30 22:40:20 +02:00

35 lines
373 B
Bash
Executable file

#!/bin/sh
#
# Start extra services when not in debug mode
#
start() {
printf "Starting extra services: "
/etc/extra.d/rcS
echo "OK"
}
stop() {
printf "Stopping extra services: "
/etc/extra.d/rcK
echo "OK"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?