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

Diff of /trunk/spind.init

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 8 Revision 18
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.2 2004/07/25 23:02:27 plasmaroo Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/spind.init,v 1.3 2004/11/19 16:11:24 wolf31o2 Exp $
5 5
6depend() { 6depend() {
7 before local 7 before local
8} 8}
9 9
10start() { 10start() {
11 ebegin 'Starting spin daemon' 11 ebegin "Starting spin daemon"
12 spind & 12 start-stop-daemon --start --quiet --exec /usr/sbin/spind
13 sleep 1
14 eend $? 13 eend $?
15} 14}
15
16stop() {
17 ebegin "Stopping spind"
18 start-stop-daemon --stop --quiet --exec /usr/sbin/spind
19 eend $?
20}

Legend:
Removed from v.8  
changed lines
  Added in v.18

  ViewVC Help
Powered by ViewVC 1.1.20