summaryrefslogtreecommitdiff
blob: 75efb98650ff7f170a66b552e37d94c9a8801b7c (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/net-misc/fakeidentd/files/fakeidentd.rc,v 1.6 2004/09/20 00:17:10 vapier Exp $

depend() {
	need net
}

start() {
	ebegin "Starting fakeidentd"
	fakeidentd ${FAKEIDENTD_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping fakeidentd"
	start-stop-daemon --stop --pidfile /var/run/fakeidentd.pid
	local ret=$?
	rm -f /var/run/fakeidentd.pid
	eend ${ret}
}