From 6384d5ccbbb3215df7dcb0fd53359e1b3eceeb04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 9 Nov 2021 15:03:12 +0100 Subject: [PATCH] Update start.sh --- start.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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