git.samba.org
/
tridge
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a00ef
)
events: 10.interfaces allow multiple interfaces per public address
author
Stefan Metzmacher
<metze@samba.org>
Mon, 21 Dec 2009 07:39:21 +0000
(08:39 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 20 Jan 2010 10:10:58 +0000
(11:10 +0100)
metze
config/events.d/10.interface
patch
|
blob
|
history
diff --git
a/config/events.d/10.interface
b/config/events.d/10.interface
index 71274c56783b6f09a1b18d37a65fe9733753c560..89e2a2eb4bdf8516a8832d529cfa4f00dee96c6f 100755
(executable)
--- a/
config/events.d/10.interface
+++ b/
config/events.d/10.interface
@@
-113,7
+113,7
@@
case "$1" in
monitor)
INTERFACES=`cat $CTDB_PUBLIC_ADDRESSES |
- sed -e "s/^[^\t ]*[\t ]*//" -e "s/[\t ]*$//"`
+ sed -e "s/^[^\t ]*[\t ]*//" -e "s/
,/ /g" -e "s/
[\t ]*$//"`
[ "$CTDB_PUBLIC_INTERFACE" ] && INTERFACES="$CTDB_PUBLIC_INTERFACE $INTERFACES"
[ "$CTDB_NATGW_PUBLIC_IFACE" ] && INTERFACES="$CTDB_NATGW_PUBLIC_IFACE $INTERFACES"