Hallo,
ich weiß nicht woran es liegt aber ich schaffe es nicht ein vorhandenes Python Script beim booten starten zu lassen.
Zielort des Scripts: /home/pi/gps.py
Eintrag in der rc.local:
Bash
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
usb_modeswitch -I -W -c /etc/usb_modeswitch.d/e173.conf
sleep 10
wvdial &
sleep 10
python /home/pi/gps.py &
exit 0
Alles anzeigen
Wie ihr schon erkennt wird zuerst der UMTS Stick gemounted, dann kommt die Einwahl und dann soll das Python Script ausgeführt werden.
Was mache ich falsch?
Bei G...le findet man nichts anderes als das was ich geschrieben habe!?!???
HILFE, ich bin zu dumm.
Schon mal Danke.
Grabbbo