diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-23 11:15:58 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-23 11:15:58 -0700 |
commit | 71be1922653a66274d02ce79fe4a2ef0a197b5aa (patch) | |
tree | 956b2b5e0b160b63fd1b459d5ad0a09c6b5e05b2 /templates/interfaces/bridge | |
parent | 505e67d13bc4e5d24c330f84f4a0fb06bed12541 (diff) | |
download | vyatta-cfg-quagga-71be1922653a66274d02ce79fe4a2ef0a197b5aa.tar.gz vyatta-cfg-quagga-71be1922653a66274d02ce79fe4a2ef0a197b5aa.zip |
Save interface description in kernel
Diffstat (limited to 'templates/interfaces/bridge')
-rw-r--r-- | templates/interfaces/bridge/node.tag/description/node.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/interfaces/bridge/node.tag/description/node.def b/templates/interfaces/bridge/node.tag/description/node.def index 50250a24..76140377 100644 --- a/templates/interfaces/bridge/node.tag/description/node.def +++ b/templates/interfaces/bridge/node.tag/description/node.def @@ -1,2 +1,4 @@ type: txt -help: Set a description of the interface +help: Set description for this interface +create: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../@)/ifalias" +delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../@)/ifalias" |