summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"