/[livecd-tools]/trunk/spind.init
Gentoo

Contents of /trunk/spind.init

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22 - (show annotations) (download)
Tue Jan 11 12:06:36 2005 UTC (9 years, 6 months ago) by wolf31o2
File size: 469 byte(s)
Fixing invalid type on a couple expressions and forcing spind into the background.

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

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20