diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-11 14:10:08 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-11 14:10:08 -0800 |
commit | ed07cff15234b716d58c52dcf315ddc493d896e7 (patch) | |
tree | 86e1d8d2bb7c1f852b719c8b12fbb97ce30ac6af /templates/show/interfaces/tunnel | |
parent | 7d74c1863204dd7666f1b9085828eee374893d3c (diff) | |
download | vyatta-op-ed07cff15234b716d58c52dcf315ddc493d896e7.tar.gz vyatta-op-ed07cff15234b716d58c52dcf315ddc493d896e7.zip |
Use vyatta-interfaces --show to display allowed types
Simple way to handle interface names for allowed:
Diffstat (limited to 'templates/show/interfaces/tunnel')
-rw-r--r-- | templates/show/interfaces/tunnel/node.tag/node.def | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def index 6818464..2382af4 100644 --- a/templates/show/interfaces/tunnel/node.tag/node.def +++ b/templates/show/interfaces/tunnel/node.tag/node.def @@ -1,5 +1,3 @@ help: Show specified tunnel interface information -allowed: local -a array ; - array=( /sys/class/net/tun* ) ; - echo -n ${array[@]##*/} +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show tunnel run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" |