Update start.sh
parent
1e3a205be3
commit
6384d5ccbb
8
start.sh
8
start.sh
|
@ -1,8 +1,6 @@
|
||||||
#!bin/bash
|
#!bin/bash
|
||||||
|
|
||||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
echo $SCRIPT_DIR
|
screen -m -d rackled
|
||||||
|
sleep 5
|
||||||
# screen -m -d rackled
|
screen -S python -X stuff 'python3 $SCRIPT_DIR/main.py\n'
|
||||||
# sleep 5
|
|
||||||
# screen -S python -X stuff 'python3 /home/pi/server-rack-led/main.py\n'
|
|
Loading…
Reference in New Issue