diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-27 10:31:36 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-27 10:31:36 -0800 |
commit | be74306e036474567c54f8c48da3093a26195ca6 (patch) | |
tree | 6eea6a025b578578622ff58468b444718029efb8 /README | |
parent | b3b95f5565d84cebe5fca613a81e2cf6f93c658e (diff) | |
download | vyatta-op-be74306e036474567c54f8c48da3093a26195ca6.tar.gz vyatta-op-be74306e036474567c54f8c48da3093a26195ca6.zip |
Fix out of date stuff in README
Diffstat (limited to 'README')
-rw-r--r-- | README | 20 |
1 files changed, 4 insertions, 16 deletions
@@ -16,7 +16,7 @@ Every template directory must have one and only one file named like .../templates/show/interfaces/node.def: help: "Show network interface information" -run: ${vyatta_bindir}/vyatta-show-interfaces +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --show Notes: - field tags (i.e. "help:" and "run:") must be at the start of line @@ -45,18 +45,6 @@ Examples: .../templates/show/interfaces/ethernet/node.tag/node.def -help: "Show given ethernet interface information" -allowed: local -a array=( /sys/class/net/{eth,vmnet}* ) ; - echo -n ${array[@]##*/} -run: ${vyatta_bindir}/vyatta-show-interfaces ethernet $4 - - -.../templates/terminal/length/node.tag/node.def - -help: Set terminal to given number of rows (0 disables paging) -allowed: echo -n '<NUMBER>' -run: if [ "$3" -eq 0 ] ; then - VYATTA_PAGER=cat - else - stty rows $3 - fi +help: Show specified ethernet interface information +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" |