summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/ethernet
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-10-04 18:10:03 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-10-04 18:10:03 -0700
commitfd141a3ac06bdbf52f38a7be6d72a392d951b67d (patch)
tree9b12acf4edb302409d161c7a70f00f75215a0bf2 /templates/show/interfaces/ethernet
parentef21466f9202fe7406cd07f22838a7a349fde4ef (diff)
downloadvyatta-op-fd141a3ac06bdbf52f38a7be6d72a392d951b67d.tar.gz
vyatta-op-fd141a3ac06bdbf52f38a7be6d72a392d951b67d.zip
don't eval help string; so, no longer needs to be quoted in node.def files
Diffstat (limited to 'templates/show/interfaces/ethernet')
-rw-r--r--templates/show/interfaces/ethernet/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/physical/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def2
6 files changed, 6 insertions, 6 deletions
diff --git a/templates/show/interfaces/ethernet/node.def b/templates/show/interfaces/ethernet/node.def
index 76e0990..9ece668 100644
--- a/templates/show/interfaces/ethernet/node.def
+++ b/templates/show/interfaces/ethernet/node.def
@@ -1,2 +1,2 @@
-help: "Show ethernet interface information"
+help: Show ethernet interface information
run: ${vyatta_bindir}/vyatta-show-interfaces ethernet
diff --git a/templates/show/interfaces/ethernet/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/node.def
index 09bd522..cf3e112 100644
--- a/templates/show/interfaces/ethernet/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/node.def
@@ -1,4 +1,4 @@
-help: "Show given ethernet interface information"
+help: Show given ethernet interface information
allowed: local -a array ;
array=( /sys/class/net/{eth,vmnet}* ) ;
echo -n ${array[@]##*/}
diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def
index 9e907d1..0d4dcf1 100644
--- a/templates/show/interfaces/ethernet/node.tag/physical/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/physical/node.def
@@ -1,3 +1,3 @@
-help: "Show physical device information of given ethernet interface"
+help: Show physical device information of given ethernet interface
allowed: ""
run: sudo ethtool $4
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.def
index 66490a7..b3d92de 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.def
@@ -1,4 +1,4 @@
-help: "Show given virtual network interface information"
+help: Show given virtual network interface information
run: tput setaf ${COLOR_RED:-1} ;
echo error: need to supply vif # ;
tput op
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
index a4dfe2b..68d3b02 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
@@ -1,4 +1,4 @@
-help: "Show given virtual network interface information"
+help: Show given virtual network interface information
allowed: for eth in /sys/class/net/eth${4}.* ; do
echo ${eth/*eth${4}./} ;
done
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def
index 7f6445f..96cd2a5 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def
@@ -1,2 +1,2 @@
-help: "Show given virtual network interface pseudo-physical information"
+help: Show given virtual network interface pseudo-physical information
run: sudo ethtool $4.$6