diff --git a/start.sh b/start.sh index a44ea8c..fdd7904 100644 --- a/start.sh +++ b/start.sh @@ -1,8 +1,6 @@ #!bin/bash SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -echo $SCRIPT_DIR - -# screen -m -d rackled -# sleep 5 -# screen -S python -X stuff 'python3 /home/pi/server-rack-led/main.py\n' \ No newline at end of file +screen -m -d rackled +sleep 5 +screen -S python -X stuff 'python3 $SCRIPT_DIR/main.py\n' \ No newline at end of file