Advertisement
Guest User

S98exit-emu-1b

a guest
Jan 20th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #! /bin/sh
  2.  
  3. case "$1" in
  4. start)
  5. echo "Starting button"
  6. /recalbox/scripts/rpi-exit-emu-1b.py & &> /dev/null
  7. ;;
  8. stop)
  9. echo "Stopping button"
  10. killall -9 rpi-exit-emu-1b.py &> /dev/null
  11. ;;
  12. restart)
  13. echo "Stopping button"
  14. killall -9 rpi-exit-emu-1b.py &> /dev/null
  15. echo "Starting button"
  16. /recalbox/scripts/rpi-exit-emu-1b.py & &> /dev/null
  17. ;;
  18. *)
  19. echo "Usage: /etc/init.d/S98exit-emu-1b {start|stop|restart}"
  20. exit 1
  21. ;;
  22. esac
  23. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement