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>
lilik-openwrt-22.03
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() {
stop_service() {
[ -f "$CONFIGFILE" ] && rm -f "$CONFIGFILE"
}
service_triggers(){
procd_add_reload_trigger 'snmpd'
}

Loading…
Cancel
Save