summaryrefslogtreecommitdiff
path: root/templates/show/queueing/ethernet/node.tag/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/queueing/ethernet/node.tag/node.def')
-rw-r--r--templates/show/queueing/ethernet/node.tag/node.def9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/show/queueing/ethernet/node.tag/node.def b/templates/show/queueing/ethernet/node.tag/node.def
new file mode 100644
index 0000000..3643a94
--- /dev/null
+++ b/templates/show/queueing/ethernet/node.tag/node.def
@@ -0,0 +1,9 @@
+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
+run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4"