Created
December 3, 2017 21:23
-
-
Save pamaury/6334db9c8a2fce463e08c7b301470044 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# check if rbclient screen is already running | |
if screen -S rbclient -X select . | |
then | |
#echo "rbclient already running" | |
exit 0 | |
fi | |
echo "Starting rbclient..." | |
screen -dS rbclient -m bash -i -c "cd project/rockbox/myrockbox/; ./runclient.sh" & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment