git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
101791a
)
net-snmp: do not exit if files cannot be opened
author
Stijn Tintel
<redacted>
Thu, 19 Dec 2019 18:04:38 +0000
(20:04 +0200)
committer
Stijn Tintel
<redacted>
Thu, 19 Dec 2019 18:04:38 +0000
(20:04 +0200)
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 <redacted>
net/net-snmp/files/snmpd.init
patch
|
blob
|
history
diff --git
a/net/net-snmp/files/snmpd.init
b/net/net-snmp/files/snmpd.init
index a7653176d4c76050f4fefc5a1f33026eb454a170..fbae9c2863ad8f7ed5b76152d4b1abb32f0afdb9 100644
(file)
--- a/
net/net-snmp/files/snmpd.init
+++ b/
net/net-snmp/files/snmpd.init
@@
-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
git clone https://git.99rst.org/PROJECT