CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 283 -
(hide annotations)
Sun Oct 4 15:02:15 2009 UTC (3 years, 7 months ago) by cjg
File size: 260 byte(s)
Sun Oct 4 15:02:15 2009 UTC (3 years, 7 months ago) by cjg
File size: 260 byte(s)
mouseemu: fixed launcher script
| 1 | cjg | 282 | #!/bin/sh |
| 2 | # | ||
| 3 | # /etc/rc.d/mouseemud: start/stop mouseemu daemon | ||
| 4 | # | ||
| 5 | |||
| 6 | case $1 in | ||
| 7 | start) | ||
| 8 | cjg | 283 | /usr/sbin/mouseemu |
| 9 | cjg | 282 | ;; |
| 10 | stop) | ||
| 11 | kill `cat /var/run/pbbuttonsd.pid` | ||
| 12 | ;; | ||
| 13 | restart) | ||
| 14 | $0 stop | ||
| 15 | sleep 2 | ||
| 16 | $0 start | ||
| 17 | ;; | ||
| 18 | *) | ||
| 19 | echo "usage: $0 [start|stop|restart]" | ||
| 20 | ;; | ||
| 21 | esac | ||
| 22 | |||
| 23 | # End of file |
Properties
| Name | Value |
|---|---|
| svn:executable | * |