summaryrefslogtreecommitdiff
path: root/templates/interfaces/loopback
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 13:26:00 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 13:26:00 -0700
commitd5375b7acda42a88c79487fe443ddd9e2a1071ee (patch)
treeae9909d7967acefe90d6b4b409f529fb18502bbc /templates/interfaces/loopback
parent93774a428cc02972fef98280eef29fc582c4e4db (diff)
downloadvyatta-cfg-d5375b7acda42a88c79487fe443ddd9e2a1071ee.tar.gz
vyatta-cfg-d5375b7acda42a88c79487fe443ddd9e2a1071ee.zip
Fix update of interface description
Bug 4249
Diffstat (limited to 'templates/interfaces/loopback')
-rw-r--r--templates/interfaces/loopback/node.tag/description/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/loopback/node.tag/description/node.def b/templates/interfaces/loopback/node.tag/description/node.def
index 7614037..d7becd1 100644
--- a/templates/interfaces/loopback/node.tag/description/node.def
+++ b/templates/interfaces/loopback/node.tag/description/node.def
@@ -1,4 +1,4 @@
type: txt
help: Set description for this interface
-create: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../@)/ifalias"
+update: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../@)/ifalias"
delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../@)/ifalias"