luci-mod-status: refactor luci-bwc
authorJo-Philipp Wich <jo@mein.io>
Mon, 20 Jan 2020 17:55:05 +0000 (18:55 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 20 Jan 2020 17:55:05 +0000 (18:55 +0100)
commit8b1d831935d64758b798958f69dc976ffa6dd8eb
tree645c85782de40b652e003f9435e102ec36634877
parent19c007a4899ff8853a01b2fb18ee733ecb89bd80
luci-mod-status: refactor luci-bwc

 - Read interface statistics from /sys/class/net/
 - Discover all wireless interfaces, not just specifically named ones

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/src/Makefile
modules/luci-mod-status/src/luci-bwc.c