diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-02-10 12:36:29 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-02-10 12:36:29 -0800 |
commit | 0f2cec6f58d3faa2b69cfb7d156e3be686f1ad8b (patch) | |
tree | 3cda96ebb6649ef0d6cf4e9841c70535af8cdb6c /templates | |
parent | b058864b0cfc71821613ec1af9a0b090bb1c478a (diff) | |
download | vyatta-op-qos-0f2cec6f58d3faa2b69cfb7d156e3be686f1ad8b.tar.gz vyatta-op-qos-0f2cec6f58d3faa2b69cfb7d156e3be686f1ad8b.zip |
Use vyatta-interfaces to complete ethernet list
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show/queueing/ethernet/node.tag/node.def | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/show/queueing/ethernet/node.tag/node.def b/templates/show/queueing/ethernet/node.tag/node.def index 3643a94..55a9aac 100644 --- a/templates/show/queueing/ethernet/node.tag/node.def +++ b/templates/show/queueing/ethernet/node.tag/node.def @@ -1,9 +1,3 @@ help: Show specified ethernet interface information -allowed: for dev in /sys/class/net/*; - do if [[ -L $dev/device ]] - then if [[ $(cat $dev/type) -eq 1 ]] - then echo -n ${dev##*/} " " - fi - fi - done +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show=ethernet run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" |