summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-06-01 09:48:41 +0000
committerPeter Volkov <pva@gentoo.org>2009-06-01 09:48:41 +0000
commitb9a6deca64527318f804de80f1203053ead582b2 (patch)
tree0c4d17bf57805d8a3d051d134cfb55b10c691d26 /net-analyzer/pmacct/files/pmacctd-init.d.1
parentRemove old. (diff)
downloadgentoo-2-b9a6deca64527318f804de80f1203053ead582b2.tar.gz
gentoo-2-b9a6deca64527318f804de80f1203053ead582b2.tar.bz2
gentoo-2-b9a6deca64527318f804de80f1203053ead582b2.zip
Remove old. Renamed pmacctd-init.d.1 into pmacctd-init.d
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/pmacct/files/pmacctd-init.d.1')
-rw-r--r--net-analyzer/pmacct/files/pmacctd-init.d.129
1 files changed, 0 insertions, 29 deletions
diff --git a/net-analyzer/pmacct/files/pmacctd-init.d.1 b/net-analyzer/pmacct/files/pmacctd-init.d.1
deleted file mode 100644
index fc75c64a8e9d..000000000000
--- a/net-analyzer/pmacct/files/pmacctd-init.d.1
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/files/pmacctd-init.d.1,v 1.1 2008/11/16 16:00:25 pva Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /etc/pmacctd.conf ] ; then
- eerror "You need an /etc/pmacctd.conf file to run pmacctd"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting pmacctd"
- start-stop-daemon --start --pidfile /var/run/pmacctd.pid --exec /usr/sbin/pmacctd \
- -- -D -f /etc/pmacctd.conf -F /var/run/pmacctd.pid ${OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping pmacctd"
- start-stop-daemon --stop --pidfile /var/run/pmacctd.pid --exec /usr/sbin/pmacctd
- eend $?
-}