summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/queueing/ethernet/node.tag/node.def8
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"