git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c21f5b
)
Dont exit from checking interfaces once we have found one interface that is not
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 9 May 2011 20:19:34 +0000
(06:19 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 9 May 2011 21:53:37 +0000
(07:53 +1000)
in use by public addresses. this can happen when we have removed existing interfaces/ip addresses and prevents us from verifying the status of other interfaces
config/events.d/10.interface
patch
|
blob
|
history
diff --git
a/config/events.d/10.interface
b/config/events.d/10.interface
index 81eff51961c2baa09b9dc6f7631f44580b4c5d1d..7f5791a9fcf02549159c56c83a3d8602e5412c5c 100755
(executable)
--- a/
config/events.d/10.interface
+++ b/
config/events.d/10.interface
@@
-42,7
+42,7
@@
monitor_interfaces()
ip addr show $IFACE 2>/dev/null >/dev/null || {
echo Interface $IFACE does not exist but it is used by public addresses.
- exit 1
+ continue
}
# These interfaces are sometimes bond devices