Rev 521: newer versions of ip need the mask on del in
http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Sat Jun 9 11:46:42 GMT 2007
------------------------------------------------------------
revno: 521
revision-id: tridge at samba.org-20070609114642-748hfwtukybwnilg
parent: tridge at samba.org-20070609113159-5dbmd2zzrudupla8
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sat 2007-06-09 21:46:42 +1000
message:
newer versions of ip need the mask on del
modified:
config/events.d/10.interface 10.interface-20070604050809-s21zslfirn07zjt8-1
=== modified file 'config/events.d/10.interface'
--- a/config/events.d/10.interface 2007-06-06 02:08:42 +0000
+++ b/config/events.d/10.interface 2007-06-09 11:46:42 +0000
@@ -56,7 +56,7 @@
iface=$1
ip=$2
maskbits=$3
- /sbin/ip addr del $ip dev $iface || {
+ /sbin/ip addr del $ip/$maskbits dev $iface || {
echo "`/bin/date` Failed to del $ip on dev $iface"
exit 1
}
More information about the samba-cvs
mailing list