5 lines
145 B
Bash
5 lines
145 B
Bash
|
#!bin/bash
|
||
|
screen -m -d spig
|
||
|
sleep 5
|
||
|
screen -S spig -X stuff 'cd /home/pi/strawberry-pi-greenhouse\n'
|
||
|
screen -S spig -X stuff 'python3 main.py\n'
|