git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c047c
)
set broadcast addresses in the takeip event.
author
Michael Adam
<obnox@samba.org>
Thu, 27 Aug 2009 20:09:42 +0000
(22:09 +0200)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 27 Aug 2009 20:50:53 +0000
(06:50 +1000)
Michael
config/events.d/10.interface
patch
|
blob
|
history
diff --git
a/config/events.d/10.interface
b/config/events.d/10.interface
index 298f3e85c853c3dafe3915e986ede9dbfd58fc91..1c8d32dbf3b2c2c5be69a5cefda5be114585584f 100755
(executable)
--- a/
config/events.d/10.interface
+++ b/
config/events.d/10.interface
@@
-57,7
+57,7
@@
case $cmd in
echo "Failed to bringup interface $iface"
exit 1
}
- /sbin/ip addr add $ip/$maskbits dev $iface || {
+ /sbin/ip addr add $ip/$maskbits
brd +
dev $iface || {
echo "Failed to add $ip/$maskbits on dev $iface"
}
# cope with the script being killed while we have the interface blocked