aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp/files/snmptrapd.init
blob: 43278a2f18878328f3e0563c7cb7ccfcba4b04ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh /etc/rc.common

START=50

USE_PROCD=1
PROG="/usr/sbin/snmptrapd"

start_service() {
	procd_open_instance

	procd_set_param command $PROG -Lf /dev/null -f
	procd_set_param respawn

	procd_close_instance
}