diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-06-15 10:14:03 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-06-15 10:14:03 -0700 |
commit | 85b19a9b420d0ee0682b4376c9a0428d52866473 (patch) | |
tree | bdcdc9e5afaaba3e134d411e6c66dd3184a7a57e /templates/interfaces/bonding | |
parent | e24523cda77d3277844bfe638c086bcf85348f7d (diff) | |
download | vyatta-cfg-quagga-85b19a9b420d0ee0682b4376c9a0428d52866473.tar.gz vyatta-cfg-quagga-85b19a9b420d0ee0682b4376c9a0428d52866473.zip |
Remove unnecessary :expression: syntax
Several templates can use simplified non-expression syntax
Diffstat (limited to 'templates/interfaces/bonding')
-rw-r--r-- | templates/interfaces/bonding/node.tag/mtu/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/mtu/node.def b/templates/interfaces/bonding/node.tag/mtu/node.def index 8be06dc3..cd244402 100644 --- a/templates/interfaces/bonding/node.tag/mtu/node.def +++ b/templates/interfaces/bonding/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 help: Set the Maximum Transmission Unit (MTU) for this interface syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" -update:expression: "ip link set $VAR(../@) mtu $VAR(@)"; "Error setting MTU on dev $VAR(../@)" -delete:expression: "ip link set $VAR(../@) mtu 1500"; "Error deleting MTU on dev $VAR(../@)" +update: ip link set $VAR(../@) mtu $VAR(@) +delete: ip link set $VAR(../@) mtu 1500 |