summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/ethernet
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-27 17:19:32 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-27 17:19:32 -0700
commitb47d02e999233cb8b87b7dbc62a28a6a1701aa69 (patch)
tree6f3f631f738f3243b34b59daf93bdf7c3065544a /templates/show/interfaces/ethernet
parentfa664ff802d73743bfa6bf37acdd2c66060b4fd9 (diff)
downloadvyatta-op-b47d02e999233cb8b87b7dbc62a28a6a1701aa69.tar.gz
vyatta-op-b47d02e999233cb8b87b7dbc62a28a6a1701aa69.zip
consolidate show_interfaces* scripts with vyatta-show-interfaces
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/vif/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/show/interfaces/ethernet/node.def b/templates/show/interfaces/ethernet/node.def
index 299c6e2..76e0990 100644
--- a/templates/show/interfaces/ethernet/node.def
+++ b/templates/show/interfaces/ethernet/node.def
@@ -1,2 +1,2 @@
help: "Show ethernet interface information"
-run: ${vyatta_bindir}/show_interfaces_ethernet
+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 1354886..09bd522 100644
--- a/templates/show/interfaces/ethernet/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/node.def
@@ -2,4 +2,4 @@ help: "Show given ethernet interface information"
allowed: local -a array ;
array=( /sys/class/net/{eth,vmnet}* ) ;
echo -n ${array[@]##*/}
-run: ${vyatta_bindir}/show_interfaces_ethernet $4
+run: ${vyatta_bindir}/vyatta-show-interfaces ethernet $4
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 10eb140..a4dfe2b 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
@@ -2,4 +2,4 @@ help: "Show given virtual network interface information"
allowed: for eth in /sys/class/net/eth${4}.* ; do
echo ${eth/*eth${4}./} ;
done
-run: ${vyatta_bindir}/show_interfaces_ethernet $4 vif $6
+run: ${vyatta_bindir}/vyatta-show-interfaces ethernet $4 vif $6
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 058e2a1..7f6445f 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"
-run: ${vyatta_bindir}/show_interfaces_ethernet $4 vif $6 physical
+run: sudo ethtool $4.$6