summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-05-12 19:52:33 +0000
committeradam <adam@pkgsrc.org>2006-05-12 19:52:33 +0000
commit3aa108a0bd6644ab5a49ef371876a7fb3c1bd66e (patch)
tree30ea758edca725a482637359369e8fb8d1d9b27d /net
parent87057d9eb19d4e58bc902b27cfe6cc8fa5c5cd9b (diff)
downloadpkgsrc-3aa108a0bd6644ab5a49ef371876a7fb3c1bd66e.tar.gz
Fix PR#33316
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/files/snmptrapd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net-snmp/files/snmptrapd.sh b/net/net-snmp/files/snmptrapd.sh
index 8a976a79749..133c78408a6 100644
--- a/net/net-snmp/files/snmptrapd.sh
+++ b/net/net-snmp/files/snmptrapd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: snmptrapd.sh,v 1.3 2004/05/31 11:47:29 tron Exp $
+# $NetBSD: snmptrapd.sh,v 1.4 2006/05/12 19:52:33 adam Exp $
#
# PROVIDE: snmptrapd
# REQUIRE: DAEMON
@@ -14,7 +14,7 @@ rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
snmptrapd_flags="-Ls 1" # log using syslog w/ facility LOG_LOCAL1
-command_args="-u ${pidfile}"
+command_args="-p ${pidfile}"
if [ -f @PKG_SYSCONFDIR@/snmptrapd.conf ]; then
command_args="${command_args} -c @PKG_SYSCONFDIR@/snmptrapd.conf"