diff --git a/start.sh b/start.sh index 1c704d3..930041f 100644 --- a/start.sh +++ b/start.sh @@ -1,3 +1,8 @@ -screen -m -d rackled -sleep 5 -screen -S python -X stuff 'python3 /home/pi/server-rack-led/main.py\n' +#!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'