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:
8411e70
)
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>
Tue, 10 May 2011 06:27:26 +0000
(16:27 +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 e0689c4397b0aa84e411dd668a6c5e57db56a416..5f2544558a95dd9c3097d7ee3352667a3c475e30 100755
(executable)
--- a/
config/events.d/10.interface
+++ b/
config/events.d/10.interface
@@
-43,7
+43,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