summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-21 15:45:47 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-21 15:45:47 +0000
commit836c80e4a1b5f3426bbd5ab9444e96a8ef8e476c (patch)
tree50608fc4db3bef4bbc8bd612d824a64d90c28428 /net-analyzer
parentadding ~ppc keyword (bug 427504) (diff)
downloadgentoo-2-836c80e4a1b5f3426bbd5ab9444e96a8ef8e476c.tar.gz
gentoo-2-836c80e4a1b5f3426bbd5ab9444e96a8ef8e476c.tar.bz2
gentoo-2-836c80e4a1b5f3426bbd5ab9444e96a8ef8e476c.zip
Fix init script. Thanks Seraphin in bug #432208.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/net-snmp/ChangeLog5
-rw-r--r--net-analyzer/net-snmp/files/snmpd.init.26
2 files changed, 7 insertions, 4 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog
index 98a8c1bac9a1..2b2279d3f7c0 100644
--- a/net-analyzer/net-snmp/ChangeLog
+++ b/net-analyzer/net-snmp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/net-snmp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.236 2012/08/20 21:19:29 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.237 2012/08/21 15:45:47 flameeyes Exp $
+
+ 21 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> files/snmpd.init.2:
+ Fix init script. Thanks Seraphin in bug #432208.
20 Aug 2012; Johannes Huber <johu@gentoo.org> net-snmp-5.7.2_rc1.ebuild:
Stable for x86, wrt bug #431752
diff --git a/net-analyzer/net-snmp/files/snmpd.init.2 b/net-analyzer/net-snmp/files/snmpd.init.2
index 8a8a9312c3fb..d2244f47f47d 100644
--- a/net-analyzer/net-snmp/files/snmpd.init.2
+++ b/net-analyzer/net-snmp/files/snmpd.init.2
@@ -1,15 +1,15 @@
#!/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/net-snmp/files/snmpd.init.2,v 1.1 2012/08/19 02:23:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/snmpd.init.2,v 1.2 2012/08/21 15:45:47 flameeyes Exp $
SNMPD_PIDFILE="${SNMPD_PIDFILE:-/var/run/snmpd.pid}"
extra_started_commands="reload"
command="/usr/sbin/snmpd"
-command_args="-p ${SNMP_PIDFILE} $SNMPD_FLAGS}"
-pidfile="${SNMP_PIDFILE}"
+command_args="-p ${SNMPD_PIDFILE} ${SNMPD_FLAGS}"
+pidfile="${SNMPD_PIDFILE}"
depend() {
use logger