Eventscripts: 10.interface should list configured interfaces
authorMartin Schwenke <martin@meltin.net>
Fri, 16 Nov 2012 09:21:15 +0000 (20:21 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 19 Nov 2012 04:54:50 +0000 (15:54 +1100)
commitd8f010355b715e49709836e057a5d0f110919897
tree551700c985ae816a99e6f59312372dac49e94442
parent9275a69a414482f1053ae14528d5972575b9214e
Eventscripts: 10.interface should list configured interfaces

The current code lists available interfaces.  If IPs are configured in
some other way than the public addresses file (e.g. ctdb addip) and their
interfaces default to being marked down then, since down interfaces are
not available, these interfaces can never be marked up.

The configured interfaces should be listed instead.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/10.interface