9 lines
181 B
Bash
9 lines
181 B
Bash
#! /bin/bash
|
|
cd /home/pi/GPIO
|
|
screen -dm -S GPIO ./GPIO >> log_1.txt
|
|
t=$(date)
|
|
echo "Time: $t" >> /home/pi/GPIO/autostart.txt
|
|
echo "Run GPIO" >> /home/pi/GPIO/autostart.txt
|
|
exit 0
|
|
|