Skip to content

Instantly share code, notes, and snippets.

@StefanIGit
Created September 6, 2018 07:36
Show Gist options
  • Save StefanIGit/da92c9921bfbb247471140b770031588 to your computer and use it in GitHub Desktop.
Save StefanIGit/da92c9921bfbb247471140b770031588 to your computer and use it in GitHub Desktop.
I had trouble to start it so this should fix that
#!/bin/bash
source ~/nettest-venv/bin/activate
cd ~/ct-net-tester-master
python ./ct-net-tester.py
if [ $? -gt 0 ]; then
python3 ./ct-net-tester.py
fi
if [ $? -gt 0 ]; then
pip3 install -r requirements.txt
fi
sleep 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment