summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-04 21:44:30 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-04 21:44:30 -0800
commit9918f96c8aa7da45f27594f372c28d7f6e720e73 (patch)
tree1baf7d2fa443600574596812ebc4d35138df4030
parentbf65dc7681eb22bbf52a413d2c694e3c0bf5b06c (diff)
downloadvyatta-cfg-qos-9918f96c8aa7da45f27594f372c28d7f6e720e73.tar.gz
vyatta-cfg-qos-9918f96c8aa7da45f27594f372c28d7f6e720e73.zip
don't use sudo when updating interface
Using sudo isn't necessary, and clobbers the environment, making debugging harder.
-rw-r--r--templates/interfaces/ethernet/node.tag/qos-policy/out/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def b/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def
index 6efaf03..20ecd5e 100644
--- a/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def
+++ b/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def
@@ -1,4 +1,4 @@
type: txt
help: Set outbound QOS policy
-update:expression: "sudo /opt/vyatta/sbin/vyatta-qos.pl --update $VAR(../../@) out $VAR(@)"
-delete:expression: "sudo /opt/vyatta/sbin/vyatta-qos.pl --delete $VAR(../../@) out"
+update:expression: "/opt/vyatta/sbin/vyatta-qos.pl --update $VAR(../../@) out $VAR(@)"
+delete:expression: "/opt/vyatta/sbin/vyatta-qos.pl --delete $VAR(../../@) out"