Browse Source

net-snmp: do not exit if files cannot be opened

If snmpd fails to open files, like /dev/kmem or /dev/mem, it exits.
Avoid this by adding the -r argument.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
lilik-openwrt-22.03
Stijn Tintel 5 years ago
parent
commit
6df49a634a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/net-snmp/files/snmpd.init

+ 1
- 1
net/net-snmp/files/snmpd.init View File

@ -317,7 +317,7 @@ start_service() {
append_parm v1trapaddress host v1trapaddress
append_parm trapsess trapsess trapsess
procd_set_param command $PROG -Lf /dev/null -f
procd_set_param command $PROG -Lf /dev/null -f -r
procd_set_param file $CONFIGFILE
procd_set_param respawn


Loading…
Cancel
Save