diff options
author | Chuck Short <zul@gentoo.org> | 2003-10-18 16:59:17 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-10-18 16:59:17 +0000 |
commit | d177342e7fe83ecb537d61218d7c474c5cab012e (patch) | |
tree | 044085608def47bc4ae1691b2f388ed07e9c73f3 /net-analyzer/darkstat/files | |
parent | Initial version, closes #29548. (diff) | |
download | gentoo-2-d177342e7fe83ecb537d61218d7c474c5cab012e.tar.gz gentoo-2-d177342e7fe83ecb537d61218d7c474c5cab012e.tar.bz2 gentoo-2-d177342e7fe83ecb537d61218d7c474c5cab012e.zip |
Initial version, closes #29548.
Diffstat (limited to 'net-analyzer/darkstat/files')
-rw-r--r-- | net-analyzer/darkstat/files/darkstat-confd | 4 | ||||
-rw-r--r-- | net-analyzer/darkstat/files/darkstat-init | 20 | ||||
-rw-r--r-- | net-analyzer/darkstat/files/digest-darkstat-2.5 | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/net-analyzer/darkstat/files/darkstat-confd b/net-analyzer/darkstat/files/darkstat-confd new file mode 100644 index 000000000000..017822ee122a --- /dev/null +++ b/net-analyzer/darkstat/files/darkstat-confd @@ -0,0 +1,4 @@ +# Config file for /etc/init.d/darkstat +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/files/darkstat-confd,v 1.1 2003/10/18 16:59:12 zul Exp $ +# Set preferred options here +DARKSTAT_OPTS="-i ppp0" diff --git a/net-analyzer/darkstat/files/darkstat-init b/net-analyzer/darkstat/files/darkstat-init new file mode 100644 index 000000000000..f708a6a5bb51 --- /dev/null +++ b/net-analyzer/darkstat/files/darkstat-init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +depend() { + need net +} + +start() { + ebegin "Starting darkstat" + start-stop-daemon --start --quiet --exec /usr/sbin/darkstat -- --detach -d /var/spool/darkstat ${DARKSTAT_OPTS} >/dev/null + eend $? +} + +stop() { + ebegin "Stopping darkstat" + start-stop-daemon --stop --quiet --retry 5 --exec /usr/sbin/darkstat + eend $? +} diff --git a/net-analyzer/darkstat/files/digest-darkstat-2.5 b/net-analyzer/darkstat/files/digest-darkstat-2.5 new file mode 100644 index 000000000000..8f0f639ff62c --- /dev/null +++ b/net-analyzer/darkstat/files/digest-darkstat-2.5 @@ -0,0 +1 @@ +MD5 4e1b67a55b6aa2c1242f40ee61df7a40 darkstat-2.5.tar.gz 203834 |