summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-10-22 08:56:48 +0900
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-10-22 08:56:48 +0900
commit491f11ced1f6982addb795ff57631a19133ec707 (patch)
tree240500a059af79e867fcb464416fbf500242f415 /templates/interfaces/ethernet
parentb2b20a22373f96699484d7615fa50bb7eec801f2 (diff)
downloadvyatta-cfg-491f11ced1f6982addb795ff57631a19133ec707.tar.gz
vyatta-cfg-491f11ced1f6982addb795ff57631a19133ec707.zip
Fix description setting on vif
Bug 5014
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def
index d85db27..0ef5489 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def
@@ -1,4 +1,4 @@
type: txt
help: Set description for this interface
-update: sudo sh -c "echo \"VAR(@)\" >/sys/class/net/$VAR(../../@).$VAR(../@)/ifalias"
+update: sudo sh -c "echo \"$VAR(@)\" >/sys/class/net/$VAR(../../@).$VAR(../@)/ifalias"
delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../../@).$VAR(../@)/ifalias"