Hallo zusammen
ich habe leider ein kleines problem /:
und zwar möchte ich 2 Python Scripte in rc.local beim start ausführen aber i-wie klappt immer nur eins z.b.
Bash
#!/bin/sh
#
# 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
python /home/pi/display.py
python /home/pi/email2.py
exit 0
Alles anzeigen
wenn das so dadrin steht startet nur das display.py script. Klammer ich das aber mit # aus startet er das email2.py script. Wieso aber startet er nicht beide? Gibt es da eine Lösung?
Dankende grüße
Nico