This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
collectd: sqm_collectd: improve error handling
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
lilik-openwrt-22.03
Kevin Darbyshire-Bryant
5 years ago
committed by
Kevin Darbyshire-Bryant
parent
5506decc3f
commit
947c85bff0
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
utils/collectd/Makefile
+2
-0
utils/collectd/files/exec-scripts/sqm_collectd.sh
+ 1
- 1
utils/collectd/Makefile
View File
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
collectd
PKG_VERSION
:=
5.11.0
PKG_RELEASE
:=
5
PKG_RELEASE
:=
6
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.bz2
PKG_SOURCE_URL
:=
https://collectd.org/files/
\
+ 2
- 0
utils/collectd/files/exec-scripts/sqm_collectd.sh
View File
@ -80,6 +80,8 @@ process_qdisc() {
ifc
=
"
$1
"
jsn
=
$(
tc -s -j qdisc show dev
"
$ifc
"
)
[
$?
]
||
return
# strip leading & trailing []
jsn
=
"
${
jsn
#[
}
"
;
jsn
=
"
${
jsn
%]
}
"
Write
Preview
Loading…
Cancel
Save