pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp/files fix deprecated -P usage (thanks to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34116a50398d
branches:  trunk
changeset: 475342:34116a50398d
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 14 15:40:53 2004 +0000

description:
fix deprecated -P usage (thanks to Jon Olsson

diffstat:

 net/net-snmp/files/snmpd.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r c0f2300234a2 -r 34116a50398d net/net-snmp/files/snmpd.sh
--- a/net/net-snmp/files/snmpd.sh       Fri May 14 15:01:31 2004 +0000
+++ b/net/net-snmp/files/snmpd.sh       Fri May 14 15:40:53 2004 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: snmpd.sh,v 1.2 2003/09/12 12:07:19 uebayasi Exp $
+# $NetBSD: snmpd.sh,v 1.3 2004/05/14 15:40:53 adam Exp $
 #
 # PROVIDE: snmpd
 # REQUIRE: DAEMON
@@ -14,7 +14,7 @@
 command="@PREFIX@/sbin/${name}"
 pidfile="/var/run/${name}.pid"
 snmpd_flags="-s -S d"          # log using syslog LOG_DAEMON
-command_args="-P ${pidfile}"
+command_args="-p ${pidfile}"
 
 if [ -f @PKG_SYSCONFDIR@/snmpd.conf ]; then
        command_args="${command_args} -c @PKG_SYSCONFDIR@/snmpd.conf"



Home | Main Index | Thread Index | Old Index