Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/sbin/runscript
- # Copyright 1999-2011 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- start() {
- ebegin "Starting SixAxis Daemon"
- start-stop-daemon --background --pidfile /var/run/sixad.pid --make-pidfile \
- --exec /usr/bin/sixad -- --start 2>&1 >/dev/null
- eend $?
- }
- stop() {
- ebegin "Stopping SixAxis Daemon"
- start-stop-daemon --stop --pidfile /var/run/sixad.pid
- /usr/bin/sixad --stop
- eend $?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement