diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-06-19 09:13:46 -0700 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-06-19 09:13:46 -0700 |
commit | 115751b4bd0218ea401d15fd2d5d9354e8c818f5 (patch) | |
tree | 144fc324ddc247bacede3e6409be376a5c9d08b3 /templates/interfaces | |
parent | 34b529bc383dbc5beef938424de03bd94a6d339e (diff) | |
download | vyatta-cfg-system-115751b4bd0218ea401d15fd2d5d9354e8c818f5.tar.gz vyatta-cfg-system-115751b4bd0218ea401d15fd2d5d9354e8c818f5.zip |
Bugfix 8115: reset miimon on arp-montior deletion
Diffstat (limited to 'templates/interfaces')
-rw-r--r-- | templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
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' |