diff options
author | Cihangir Akturk <cakturk@gmail.com> | 2016-08-22 20:23:59 +0300 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-08-22 10:23:59 -0700 |
commit | 15de209cbaee6827f061e8d2788c9db232012c6b (patch) | |
tree | df2388c145bb6fe0ee7433940570c048839fb6dc /src/print_run_watch.c | |
parent | ef16acfca5f41fc841d7cc0ec8cca1d950157f6a (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_run_watch.c')
0 files changed, 0 insertions, 0 deletions