diff options
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 |