Eventscripts: 10.interfaces - make startup event actually mark interfaces up!
authorMartin Schwenke <martin@meltin.net>
Tue, 5 Jul 2011 07:21:57 +0000 (17:21 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 12 Aug 2011 06:34:34 +0000 (16:34 +1000)
commitc9d168bbe43bc70c232c40b72a25f064891d7de2
treeda41ab50d3f993ffd7590887ab9980c89f0a9379
parent5ab955a73d80fb2992cab8b746a1af7268bb3f58
Eventscripts: 10.interfaces - make startup event actually mark interfaces up!

The startup event intends to mark interfaces up.  However, it doesn't
actually do that because $INTERFACES is empty.

This uses the function get_all_interfaces() to list the
interfaces... and then mark them up.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit fc62bf0975c6059ee467285565d0dc3b4daaf238)
ctdb/config/events.d/10.interface