Skip to content

Instantly share code, notes, and snippets.

@pamaury
Created December 3, 2017 21:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pamaury/6334db9c8a2fce463e08c7b301470044 to your computer and use it in GitHub Desktop.
#!/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