Bond devices can have any name the user configures, so
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 9 Dec 2009 00:33:04 +0000 (11:33 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 9 Dec 2009 00:33:04 +0000 (11:33 +1100)
commit8cc6c5de3d7abb0b72eaa6e769e70963b02d84cb
treed5fc7bc96107c53fc27d0c3f1594afe2316a951b
parent03b5bbaae1b53830a4cd20d3079ab8f45ffce923
Bond devices can have any name the user configures, so
when checking link status for an interface, first
check if this interface is in fact a bond device
(by the precense of a /proc/net/bonding/IFACE file)
and use that file for checking status.

Othervise assume ib* is an infiniband interface which we donnt know how
to check, or otherwise it is an ethernet interface and ethtool should
hopefully work.
config/events.d/10.interface