summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-01 01:19:16 +0000
committerChristian Ruppert <idl0r@gentoo.org>2012-01-01 01:19:16 +0000
commit0abcc02db7a6147efc3aabd6062ae09de82f2d9c (patch)
treead396842cda5425c83b1d71a6f238a8bf316f2c0 /net-analyzer/vnstat
parentRevbump. Don't use the deprecated $opts variable, bug 386115. (diff)
downloadgentoo-2-0abcc02db7a6147efc3aabd6062ae09de82f2d9c.tar.gz
gentoo-2-0abcc02db7a6147efc3aabd6062ae09de82f2d9c.tar.bz2
gentoo-2-0abcc02db7a6147efc3aabd6062ae09de82f2d9c.zip
Forgot to remove a obsolete codeblock.
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'net-analyzer/vnstat')
-rw-r--r--net-analyzer/vnstat/ChangeLog5
-rw-r--r--net-analyzer/vnstat/files/vnstatd.initd8
2 files changed, 5 insertions, 8 deletions
diff --git a/net-analyzer/vnstat/ChangeLog b/net-analyzer/vnstat/ChangeLog
index d01f8b717cfe..76433581404f 100644
--- a/net-analyzer/vnstat/ChangeLog
+++ b/net-analyzer/vnstat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/vnstat
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.53 2012/01/01 01:18:04 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.54 2012/01/01 01:19:16 idl0r Exp $
+
+ 01 Jan 2012; Christian Ruppert <idl0r@gentoo.org> files/vnstatd.initd:
+ Forgot to remove a obsolete codeblock.
*vnstat-1.11-r2 (01 Jan 2012)
*vnstat-1.10-r1 (01 Jan 2012)
diff --git a/net-analyzer/vnstat/files/vnstatd.initd b/net-analyzer/vnstat/files/vnstatd.initd
index 41908e634512..b3f136cef338 100644
--- a/net-analyzer/vnstat/files/vnstatd.initd
+++ b/net-analyzer/vnstat/files/vnstatd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.5 2012/01/01 01:18:05 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.6 2012/01/01 01:19:16 idl0r Exp $
extra_started_commands="reload"
@@ -31,12 +31,6 @@ stop() {
}
reload() {
- if [ ! -f ${VNSTATD_PIDFILE} ]; then
- eerror "Cannot reload configuration, vnstatd is not running"
- eend 1
- return 1
- fi
-
ebegin "Reloading vnstatd configuration"
kill -HUP $(< "${VNSTATD_PIDFILE}") &>/dev/null
eend $?