summaryrefslogtreecommitdiff
path: root/etc/rc.d/snmpd
blob: 115ddfab9f3fef2c12020114922a751eab9333cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/ksh
#
# $OpenBSD: snmpd,v 1.5 2022/11/30 02:54:15 kn Exp $

daemon="/usr/sbin/snmpd"

. /etc/rc.d/rc.subr

rc_configtest() {
	# use rc_exec here since daemon_flags may contain arguments with spaces
	rc_exec "${daemon} -n ${daemon_flags}"
}

rc_reload=NO

rc_cmd $1