summaryrefslogtreecommitdiff
path: root/net/ucd-snmp/files/snmpd.sh
blob: b9f32265c30cebf6a437571a10a878d78ef6f0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# $NetBSD: snmpd.sh,v 1.1 2000/10/13 18:16:00 kim Exp $

if [ -f /etc/snmp/snmpd.conf ]
then
    SNMPD_CFG="-c /etc/snmp/snmpd.conf"
fi

if [ -x @PREFIX@/sbin/snmpd ]
then
    echo -n ' snmpd'
    @PREFIX@/sbin/snmpd -s -P /var/run/snmpd.pid -A -l /dev/null ${SNMPD_CFG}
fi