Initial commit

This commit is contained in:
2018-05-15 16:11:21 +02:00
commit 9d1907616b
15 changed files with 274 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
#!/bin/sh
#
# Load SPI modules
#
start() {
printf "Load SPI kernel modules: "
modprobe spi-bcm2835
modprobe spidev
}
stop() {
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?