blob: 1a9e1c152db456aea0b79421333a09727255e757 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/files/gentoo.init,v 1.4 2004/07/14 21:16:40 agriffis Exp $
PROGNAME=`basename $1`
depend() {
need net
}
start() {
ebegin "Starting ${PROGNAME}..."
start-stop-daemon --start --quiet --exec /usr/bin/${PROGNAME} -- ${OPTIONS} -d &> /dev/null
eend $?
}
stop() {
ebegin "Stop ${PROGNAME}..."
start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME} &> /dev/null
eend $?
}
|