From 115751b4bd0218ea401d15fd2d5d9354e8c818f5 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 19 Jun 2012 09:13:46 -0700 Subject: Bugfix 8115: reset miimon on arp-montior deletion --- templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/interfaces') diff --git a/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def b/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def index 1b88797e..010a953b 100644 --- a/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def +++ b/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def @@ -3,3 +3,5 @@ default: 0 help: ARP link monitoring frequency in milliseconds update: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../../@)/bonding/arp_interval" +delete: sudo sh -c 'echo 0 > /sys/class/net/$VAR(../../@)/bonding/arp_interval' + sudo sh -c 'echo 250 > /sys/class/net/$VAR(../../@)/bonding/miimon' -- cgit v1.2.3