diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2007-09-27 17:19:32 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2007-09-27 17:19:32 -0700 |
commit | b47d02e999233cb8b87b7dbc62a28a6a1701aa69 (patch) | |
tree | 6f3f631f738f3243b34b59daf93bdf7c3065544a /templates/show/interfaces/ethernet | |
parent | fa664ff802d73743bfa6bf37acdd2c66060b4fd9 (diff) | |
download | vyatta-op-b47d02e999233cb8b87b7dbc62a28a6a1701aa69.tar.gz vyatta-op-b47d02e999233cb8b87b7dbc62a28a6a1701aa69.zip |
consolidate show_interfaces* scripts with vyatta-show-interfaces
Diffstat (limited to 'templates/show/interfaces/ethernet')
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 |