diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-01 18:19:30 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-01 18:45:18 +0200 |
commit | 16f0997bdbf85df0c7bae7f0773a118714d15cdf (patch) | |
tree | ca30d3476555c0846e646609b628eb9b751e067b /applications/luci-app-nextdns | |
parent | 7fe89cbf0f05e391f060730f03c25ede128907fd (diff) |
luci-mod-status: luci-bwc: skip "." and ".." when finding netdevs
Skip the "." and ".." directory entries of "/sys/class/net/" instead of
passing them on to libiwinfo's probe function. This avoids a situation
where the kernel requests a modprobe of "netdev-." and "netdev-.." over
and over again, resulting in high load on lower end systems.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-nextdns')
0 files changed, 0 insertions, 0 deletions