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)
commit1cf23b1bd782a1ec29046f9597436e8280cbea44
treebff407144f4e2d0cd65de84e6da2ede2afd5abdf
parent54da843031256d64e775effb1190a2920c33f55f
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

(This used to be ctdb commit 0c2a7bf18c65452ca1c2f0539bf692507d91e3c6)
ctdb/config/events.d/10.interface