From 71be1922653a66274d02ce79fe4a2ef0a197b5aa Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 23 Mar 2009 11:15:58 -0700 Subject: Save interface description in kernel --- templates/interfaces/tunnel/node.tag/description/node.def | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/interfaces/tunnel') diff --git a/templates/interfaces/tunnel/node.tag/description/node.def b/templates/interfaces/tunnel/node.tag/description/node.def index b53ae684..76140377 100644 --- a/templates/interfaces/tunnel/node.tag/description/node.def +++ b/templates/interfaces/tunnel/node.tag/description/node.def @@ -1,2 +1,4 @@ type: txt -help: Set description of this tunnel 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" -- cgit v1.2.3