summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authoradam <adam>2004-05-14 15:40:53 +0000
committeradam <adam>2004-05-14 15:40:53 +0000
commit3fe0c0294be4768b0aaf36ced8b024e791126547 (patch)
tree2d170ccd7f83ff530eab467e43adf0acbccb6c44 /net/net-snmp
parent26912d3c7e9a11524a9573b014c858d7d62f54a6 (diff)
downloadpkgsrc-3fe0c0294be4768b0aaf36ced8b024e791126547.tar.gz
fix deprecated -P usage (thanks to Jon Olsson
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/files/snmpd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net-snmp/files/snmpd.sh b/net/net-snmp/files/snmpd.sh
index 633b1f4519f..34c7452855f 100644
--- a/net/net-snmp/files/snmpd.sh
+++ b/net/net-snmp/files/snmpd.sh
@@ -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 @@ rcvar=$name
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"