diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-21 11:34:17 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-21 11:34:17 +1100 |
commit | ff8363697dfb3bd90908ad9641b28c15f71ea93a (patch) | |
tree | 2350d32eba9c66c89b71e43c28667fba776ef50e /ctdb/config | |
parent | 6dd7a8bcfaf3badabb07eb0e67398ab1296169f8 (diff) | |
download | samba-ff8363697dfb3bd90908ad9641b28c15f71ea93a.tar.gz samba-ff8363697dfb3bd90908ad9641b28c15f71ea93a.tar.xz samba-ff8363697dfb3bd90908ad9641b28c15f71ea93a.zip |
treat interfaces with the name ethX* as bond devices
(This used to be ctdb commit 3997d7e5471810e9a2f145ce2e795073dfc5eded)
Diffstat (limited to 'ctdb/config')
-rwxr-xr-x | ctdb/config/events.d/10.interface | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/10.interface b/ctdb/config/events.d/10.interface index 08717503a3..61f7148236 100755 --- a/ctdb/config/events.d/10.interface +++ b/ctdb/config/events.d/10.interface @@ -145,7 +145,7 @@ case $cmd in for IFACE in $INTERFACES ; do case $IFACE in - bond*) + ethX*|bond*) IFACE=`echo $IFACE |sed -e 's/\....$//'` grep -q '^MII Status: up' /proc/net/bonding/$IFACE || { echo "ERROR: public network interface $IFACE is down" |