diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-10-22 08:56:48 +0900 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-10-22 08:56:48 +0900 |
commit | 491f11ced1f6982addb795ff57631a19133ec707 (patch) | |
tree | 240500a059af79e867fcb464416fbf500242f415 /templates/interfaces/ethernet | |
parent | b2b20a22373f96699484d7615fa50bb7eec801f2 (diff) | |
download | vyatta-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.def | 2 |
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" |