Improve the monitor event test for ethernet interfaces (link detection).
authorMichael Adam <obnox@samba.org>
Wed, 10 Dec 2008 21:27:36 +0000 (22:27 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 11 Dec 2008 22:19:23 +0000 (09:19 +1100)
commit0c2a7bf18c65452ca1c2f0539bf692507d91e3c6
tree2cee49e6f222453ec809acbf518f13b10770d5a9
parent9c6816e040d42d293eaf9ce41eff639135e8b2f5
Improve the monitor event test for ethernet interfaces (link detection).

On some systems, the ethtool link detection is not successful when a
cable is plugged but the interface has not been brought up previously.
This improves the test by bringing the interface up (without checking
for success here) and trying the ethtool test again afterwards.

Michael
config/events.d/10.interface