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