diff options
author | adam <adam@pkgsrc.org> | 2004-05-14 15:40:53 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2004-05-14 15:40:53 +0000 |
commit | 4623c5688d5e4ecf9a461287f3b6bdf1c4e1bd65 (patch) | |
tree | 2d170ccd7f83ff530eab467e43adf0acbccb6c44 /net | |
parent | fd5a1e157f0193b3081ba3a555ceabd2902605ff (diff) | |
download | pkgsrc-4623c5688d5e4ecf9a461287f3b6bdf1c4e1bd65.tar.gz |
fix deprecated -P usage (thanks to Jon Olsson
Diffstat (limited to 'net')
-rw-r--r-- | net/net-snmp/files/snmpd.sh | 4 |
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" |