diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2001-12-28 16:33:17 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2001-12-28 16:33:17 +0000 |
commit | b58e3c869c1afb633e701f544a2a9270ab003630 (patch) | |
tree | 72222fe8c7a46246abf89c35c06a36865aa915b9 /net-www/junkbuster | |
parent | new revision of dns2go... Now actually works without quirks, + added init (diff) | |
download | gentoo-2-b58e3c869c1afb633e701f544a2a9270ab003630.tar.gz gentoo-2-b58e3c869c1afb633e701f544a2a9270ab003630.tar.bz2 gentoo-2-b58e3c869c1afb633e701f544a2a9270ab003630.zip |
Brain damage
Diffstat (limited to 'net-www/junkbuster')
-rw-r--r-- | net-www/junkbuster/files/junkbuster.rc6 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-www/junkbuster/files/junkbuster.rc6 b/net-www/junkbuster/files/junkbuster.rc6 new file mode 100644 index 000000000000..5eea6cc252f4 --- /dev/null +++ b/net-www/junkbuster/files/junkbuster.rc6 @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-www/junkbuster/files/junkbuster.rc6,v 1.1 2001/12/28 16:33:17 karltk Exp $ + +start() { + ebegin "Starting junkbuster" + start-stop-daemon --start --quiet --exec /usr/sbin/junkbuster -- /etc/junkbuster/config + eend $? +} + +stop() { + ebegin "Stopping junkbuster" + start-stop-daemon --stop --quiet --pidfile /var/run/junkbuster.pid + eend $? +} |