summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/bonding
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/interfaces/bonding')
-rw-r--r--templates/show/interfaces/bonding/node.tag/node.def6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/show/interfaces/bonding/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/node.def
index 0cf4016..c2f1349 100644
--- a/templates/show/interfaces/bonding/node.tag/node.def
+++ b/templates/show/interfaces/bonding/node.tag/node.def
@@ -1,7 +1,3 @@
help: Show specified bonding interface information
-allowed: for dev in /sys/class/net/*;
- do if [[ -d $dev/bonding ]]
- then echo -n ${dev##*/} " "
- fi
- done
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show bonding
run: ${vyatta_bindir}/vyatta-show-bonding.pl "$4"