Rev 374: fixed syntax of /sbin/ip in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Tue May 29 03:09:16 GMT 2007


------------------------------------------------------------
revno: 374
revision-id: tridge at samba.org-20070529030915-5yxjyy6xkt3w4m8b
parent: tridge at samba.org-20070529030452-pm0hvzog5ibfl8q6
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Tue 2007-05-29 13:09:15 +1000
message:
  fixed syntax of /sbin/ip
modified:
  tools/events                   events-20070529030121-04fjh63cxfh8v1pj-1
=== modified file 'tools/events'
--- a/tools/events	2007-05-29 03:04:52 +0000
+++ b/tools/events	2007-05-29 03:09:15 +0000
@@ -13,7 +13,7 @@
 	iface=$1
 	ip=$2
 	maskbits=$3
-	exec /sbin/ip add $ip/$maskbits dev $iface
+	exec /sbin/ip addr add $ip/$maskbits dev $iface
 	exit 1
 	;;
 
@@ -25,7 +25,7 @@
 	iface=$1
 	ip=$2
 	maskbits=$3
-	exec /sbin/ip del $ip/$maskbits dev $iface
+	exec /sbin/ip addr del $ip/$maskbits dev $iface
 	exit 1
 	;;
 



More information about the samba-cvs mailing list