diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-10-23 14:37:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-10-23 14:37:34 +0000 |
commit | c850e96e3b789ff79b5ad71a54a901d5514ae14b (patch) | |
tree | c0b7eeaa4cf8bfbb5814266c0b26159171ef76ac /net-misc/fakeidentd/files/fakeidentd.rc | |
parent | added IUSE, version bump (diff) | |
download | gentoo-2-c850e96e3b789ff79b5ad71a54a901d5514ae14b.tar.gz gentoo-2-c850e96e3b789ff79b5ad71a54a901d5514ae14b.tar.bz2 gentoo-2-c850e96e3b789ff79b5ad71a54a901d5514ae14b.zip |
Saved from the attic
Diffstat (limited to 'net-misc/fakeidentd/files/fakeidentd.rc')
-rw-r--r-- | net-misc/fakeidentd/files/fakeidentd.rc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc b/net-misc/fakeidentd/files/fakeidentd.rc new file mode 100644 index 000000000000..218ae35ef817 --- /dev/null +++ b/net-misc/fakeidentd/files/fakeidentd.rc @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc,v 1.1 2002/10/23 14:37:34 vapier Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting fakeidentd" + start-stop-daemon --start --quiet --startas /usr/sbin/fakeidentd \ + --pidfile /var/run/fakeidentd.pid -- ${FAKEIDENTD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping fakeidentd" + start-stop-daemon --stop --quiet --pidfile /var/run/fakeidentd.pid + eend $? +} |