Advertisement
Guest User

Untitled

a guest
Nov 5th, 2012
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #!/sbin/runscript
  2. # Copyright 1999-2011 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. # $Header: $
  5.  
  6. start() {
  7. ebegin "Starting SixAxis Daemon"
  8. start-stop-daemon --background --pidfile /var/run/sixad.pid --make-pidfile \
  9. --exec /usr/bin/sixad -- --start 2>&1 >/dev/null
  10. eend $?
  11. }
  12.  
  13. stop() {
  14. ebegin "Stopping SixAxis Daemon"
  15. start-stop-daemon --stop --pidfile /var/run/sixad.pid
  16. /usr/bin/sixad --stop
  17. eend $?
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement