-
Alessandro Rubini authored
The problem with /sys/net/*/carrier, is that the file may be missing. For example, if the fiber is unplugged. "operstate" is always there, and it is either "up" or "down". If it is ifconfig'd up but without fiber, the operstate is properly down, so we can use it with no further ado. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
5eb5f946
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
dot-config | ||
host_tools | ||
include | ||
libsdb | ||
libwr | ||
mini-rpc | ||
ppsi @ a56a105f | ||
rootfs_override | ||
snmpd | ||
tools | ||
wrs_watchdog | ||
wrsw_hal | ||
wrsw_rtud | ||
.gitignore | ||
Makefile | ||
devices.tar.gz |