Skip to content

Instantly share code, notes, and snippets.

@syxolk
Created February 9, 2016 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syxolk/0ae24b83e18c42db9afe to your computer and use it in GitHub Desktop.
Save syxolk/0ae24b83e18c42db9afe to your computer and use it in GitHub Desktop.
#!/bin/bash
ENABLE=1
CONFIG_REPO=phibedy.config_auto_drive.d6c3c3
ARGS="-c new_car --flags norender,sendData"
USER=odroid
if [ $ENABLE -eq 1 ]; then
daemon --name=lms --user=$USER --attempts=1 --delay=5 --output=/tmp/lms.log --respawn -- /home/$USER/$CONFIG_REPO/run $ARGS
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment