net-snmp: add snmptrapd packages

Closes #4724.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel
2017-09-29 02:28:23 +03:00
parent 61769b0786
commit 8079f86caa
2 changed files with 38 additions and 0 deletions
+15
View File
@@ -0,0 +1,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
}