summaryrefslogtreecommitdiff
path: root/src/print_cpu_usage.c
diff options
context:
space:
mode:
authorCihangir Akturk <cakturk@gmail.com>2016-08-22 20:23:59 +0300
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-08-22 10:23:59 -0700
commit15de209cbaee6827f061e8d2788c9db232012c6b (patch)
treedf2388c145bb6fe0ee7433940570c048839fb6dc /src/print_cpu_usage.c
parentef16acfca5f41fc841d7cc0ec8cca1d950157f6a (diff)
Parse uevent file to detect network device type (#153)
Currently i3status differentiates wireless and wired devices based on the existence of wireless directory inside the device's sysfs directory. This approach seems to cause 3g modems to be incorrectly identified as the first ethernet device. This commit solves this problem by using DEVTYPE variable from uevent file. Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Diffstat (limited to 'src/print_cpu_usage.c')
0 files changed, 0 insertions, 0 deletions