diff options
-rw-r--r-- | net/ucd-snmp/files/snmpd.sh | 3 | ||||
-rw-r--r-- | net/ucd-snmp/files/snmptrapd.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net/ucd-snmp/files/snmpd.sh b/net/ucd-snmp/files/snmpd.sh index ff83cd72561..e1f5e82d561 100644 --- a/net/ucd-snmp/files/snmpd.sh +++ b/net/ucd-snmp/files/snmpd.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: snmpd.sh,v 1.5 2002/02/27 12:52:58 tron Exp $ +# $NetBSD: snmpd.sh,v 1.6 2002/02/27 15:13:31 tron Exp $ # PID file: PF=/var/run/snmpd.pid @@ -28,6 +28,7 @@ stop) ;; restart) sh $0 stop + sleep 5 sh $0 start ;; *) diff --git a/net/ucd-snmp/files/snmptrapd.sh b/net/ucd-snmp/files/snmptrapd.sh index 3ab359cdf20..48e850195ae 100644 --- a/net/ucd-snmp/files/snmptrapd.sh +++ b/net/ucd-snmp/files/snmptrapd.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: snmptrapd.sh,v 1.3 2002/02/27 12:52:58 tron Exp $ +# $NetBSD: snmptrapd.sh,v 1.4 2002/02/27 15:13:31 tron Exp $ # PID file: PF=/var/run/snmptrapd.pid @@ -24,6 +24,7 @@ stop) ;; restart) sh $0 stop + sleep 5 sh $0 start ;; *) |