Browse Source

net-snmp: add service_triggers callback

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Helge Mader <hmader@tdt.de>
feckert 9 years ago
parent
commit
0c0722926d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      net/net-snmp/files/snmpd.init

+ 4
- 0
net/net-snmp/files/snmpd.init View File

@@ -228,3 +228,7 @@ start_service() {
228 228
 stop_service() {
229 229
 	[ -f "$CONFIGFILE" ] && rm -f "$CONFIGFILE"
230 230
 }
231
+
232
+service_triggers(){
233
+	procd_add_reload_trigger 'snmpd'
234
+}