summaryrefslogtreecommitdiff
path: root/net/ucd-snmp
diff options
context:
space:
mode:
authortron <tron>2002-02-27 12:52:58 +0000
committertron <tron>2002-02-27 12:52:58 +0000
commit7c904586c61516e6539b96c56e645f686bde5078 (patch)
tree9fa4fd2e609b5b136ca97e8df5257eac5801eb2d /net/ucd-snmp
parent3c2b71e907f4469025759a9f925a5923058643e6 (diff)
downloadpkgsrc-7c904586c61516e6539b96c56e645f686bde5078.tar.gz
Fix message displayed if daemon is started.
Diffstat (limited to 'net/ucd-snmp')
-rw-r--r--net/ucd-snmp/files/snmpd.sh4
-rw-r--r--net/ucd-snmp/files/snmptrapd.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/ucd-snmp/files/snmpd.sh b/net/ucd-snmp/files/snmpd.sh
index 1b52accfdb1..ff83cd72561 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.4 2002/02/13 16:41:41 tron Exp $
+# $NetBSD: snmpd.sh,v 1.5 2002/02/27 12:52:58 tron Exp $
# PID file:
PF=/var/run/snmpd.pid
@@ -14,7 +14,7 @@ case $1 in
start)
if [ -x @PREFIX@/sbin/snmpd ]
then
- echo -n ' snmpd'
+ echo 'Starting snmpd.'
@PREFIX@/sbin/snmpd -s -P ${PF} -A ${SNMPD_CFG}
fi
;;
diff --git a/net/ucd-snmp/files/snmptrapd.sh b/net/ucd-snmp/files/snmptrapd.sh
index 6b44a5cec30..3ab359cdf20 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.2 2002/02/13 16:41:41 tron Exp $
+# $NetBSD: snmptrapd.sh,v 1.3 2002/02/27 12:52:58 tron Exp $
# PID file:
PF=/var/run/snmptrapd.pid
@@ -10,7 +10,7 @@ case $1 in
start)
if [ -x @PREFIX@/sbin/snmptrapd ]
then
- echo -n ' snmptrapd'
+ echo 'Starting snmptrapd.'
@PREFIX@/sbin/snmptrapd -s -l 1 -u ${PF}
fi
;;