44e49a1690
* Log * Einrückungen
20 lines
314 B
Bash
Executable file
20 lines
314 B
Bash
Executable file
#! /bin/sh
|
|
# /etc/init.d/display
|
|
|
|
case "$1" in
|
|
start)
|
|
echo "Display wird gestartet"
|
|
python /home/pi/Temperaturmessung/display.py > /home/pi/log/display 2>&1 &
|
|
;;
|
|
stop)
|
|
echo "Display wird beendet"
|
|
killall python
|
|
;;
|
|
*)
|
|
echo "Verwendung: /etc/init.d/display {start|stop}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
exit 0
|
|
|
|
|