| 1 | #!/sbin/runscript |
1 | #!/sbin/runscript |
| 2 | # Copyright 1999-2004 Gentoo Foundation |
2 | # Copyright 1999-2004 Gentoo Foundation |
| 3 | # Distributed under the terms of the GNU General Public License v2 |
3 | # Distributed under the terms of the GNU General Public License v2 |
| 4 | # $Header: /var/cvsroot/gentoo/src/livecd-tools/spind.init,v 1.3 2004/11/19 16:11:24 wolf31o2 Exp $ |
4 | # $Header: /var/cvsroot/gentoo/src/livecd-tools/spind.init,v 1.4 2005/01/11 12:06:36 wolf31o2 Exp $ |
| 5 | |
5 | |
| 6 | depend() { |
6 | depend() { |
| 7 | before local |
7 | before local |
| 8 | } |
8 | } |
| 9 | |
9 | |
| 10 | start() { |
10 | start() { |
| 11 | ebegin "Starting spin daemon" |
11 | ebegin "Starting spin daemon" |
| 12 | start-stop-daemon --start --quiet --exec /usr/sbin/spind |
12 | start-stop-daemon --start --quiet --exec /usr/sbin/spind & |
| 13 | eend $? |
13 | eend $? |
| 14 | } |
14 | } |
| 15 | |
15 | |
| 16 | stop() { |
16 | stop() { |
| 17 | ebegin "Stopping spind" |
17 | ebegin "Stopping spind" |