diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-01 14:01:15 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-01 14:31:26 -0700 |
commit | a193407dbe85242b7afa0f2bc2ab1bceb1d6cb53 (patch) | |
tree | f562cb73b2d980715a5f8f2012444986fe7c65cb /templates | |
parent | 9703c9a871cf19cc05a034184b5f7ead971bd080 (diff) | |
download | vyatta-cfg-qos-a193407dbe85242b7afa0f2bc2ab1bceb1d6cb53.tar.gz vyatta-cfg-qos-a193407dbe85242b7afa0f2bc2ab1bceb1d6cb53.zip |
Fix problems with bandwidth template
Bug 4485
Change template to deal with CLI changes in quoting evaluation
of expressions.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/qos-policy/random-detect/node.tag/bandwidth/node.def | 4 | ||||
-rw-r--r-- | templates/qos-policy/traffic-shaper/node.tag/bandwidth/node.def | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/qos-policy/random-detect/node.tag/bandwidth/node.def b/templates/qos-policy/random-detect/node.tag/bandwidth/node.def index 76fa6e2..eb0d4d9 100644 --- a/templates/qos-policy/random-detect/node.tag/bandwidth/node.def +++ b/templates/qos-policy/random-detect/node.tag/bandwidth/node.def @@ -1,8 +1,8 @@ type: txt help: Set the available bandwidth for this policy default: "auto" -syntax:expression: exec "[[ \"$VAR(@)\" == \"auto\" ]] || \ - /opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\"" +syntax:expression: $VAR(@) == "auto" || \ + exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" comp_help: Allowed values: auto Set bandwidth based on interface speed (default) <number> Bandwidth in Kbps diff --git a/templates/qos-policy/traffic-shaper/node.tag/bandwidth/node.def b/templates/qos-policy/traffic-shaper/node.tag/bandwidth/node.def index 76fa6e2..eb0d4d9 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/bandwidth/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/bandwidth/node.def @@ -1,8 +1,8 @@ type: txt help: Set the available bandwidth for this policy default: "auto" -syntax:expression: exec "[[ \"$VAR(@)\" == \"auto\" ]] || \ - /opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\"" +syntax:expression: $VAR(@) == "auto" || \ + exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" comp_help: Allowed values: auto Set bandwidth based on interface speed (default) <number> Bandwidth in Kbps |