diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2007-10-04 18:10:03 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2007-10-04 18:10:03 -0700 |
commit | fd141a3ac06bdbf52f38a7be6d72a392d951b67d (patch) | |
tree | 9b12acf4edb302409d161c7a70f00f75215a0bf2 /templates/show/interfaces | |
parent | ef21466f9202fe7406cd07f22838a7a349fde4ef (diff) | |
download | vyatta-op-fd141a3ac06bdbf52f38a7be6d72a392d951b67d.tar.gz vyatta-op-fd141a3ac06bdbf52f38a7be6d72a392d951b67d.zip |
don't eval help string; so, no longer needs to be quoted in node.def files
Diffstat (limited to 'templates/show/interfaces')
13 files changed, 13 insertions, 13 deletions
diff --git a/templates/show/interfaces/ethernet/node.def b/templates/show/interfaces/ethernet/node.def index 76e0990..9ece668 100644 --- a/templates/show/interfaces/ethernet/node.def +++ b/templates/show/interfaces/ethernet/node.def @@ -1,2 +1,2 @@ -help: "Show ethernet interface information" +help: Show ethernet interface information run: ${vyatta_bindir}/vyatta-show-interfaces ethernet diff --git a/templates/show/interfaces/ethernet/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/node.def index 09bd522..cf3e112 100644 --- a/templates/show/interfaces/ethernet/node.tag/node.def +++ b/templates/show/interfaces/ethernet/node.tag/node.def @@ -1,4 +1,4 @@ -help: "Show given ethernet interface information" +help: Show given ethernet interface information allowed: local -a array ; array=( /sys/class/net/{eth,vmnet}* ) ; echo -n ${array[@]##*/} diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def index 9e907d1..0d4dcf1 100644 --- a/templates/show/interfaces/ethernet/node.tag/physical/node.def +++ b/templates/show/interfaces/ethernet/node.tag/physical/node.def @@ -1,3 +1,3 @@ -help: "Show physical device information of given ethernet interface" +help: Show physical device information of given ethernet interface allowed: "" run: sudo ethtool $4 diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.def index 66490a7..b3d92de 100644 --- a/templates/show/interfaces/ethernet/node.tag/vif/node.def +++ b/templates/show/interfaces/ethernet/node.tag/vif/node.def @@ -1,4 +1,4 @@ -help: "Show given virtual network interface information" +help: Show given virtual network interface information run: tput setaf ${COLOR_RED:-1} ; echo error: need to supply vif # ; tput op diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def index a4dfe2b..68d3b02 100644 --- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def +++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def @@ -1,4 +1,4 @@ -help: "Show given virtual network interface information" +help: Show given virtual network interface information allowed: for eth in /sys/class/net/eth${4}.* ; do echo ${eth/*eth${4}./} ; done diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def index 7f6445f..96cd2a5 100644 --- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def +++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def @@ -1,2 +1,2 @@ -help: "Show given virtual network interface pseudo-physical information" +help: Show given virtual network interface pseudo-physical information run: sudo ethtool $4.$6 diff --git a/templates/show/interfaces/loopback/node.def b/templates/show/interfaces/loopback/node.def index 5394ff0..cbf6238 100644 --- a/templates/show/interfaces/loopback/node.def +++ b/templates/show/interfaces/loopback/node.def @@ -1,3 +1,3 @@ -help: "Show loopback interface information" +help: Show loopback interface information run: ${vyatta_bindir}/vyatta-show-interfaces loopback diff --git a/templates/show/interfaces/loopback/node.tag/node.def b/templates/show/interfaces/loopback/node.tag/node.def index 2b0ee55..f1c11ed 100644 --- a/templates/show/interfaces/loopback/node.tag/node.def +++ b/templates/show/interfaces/loopback/node.tag/node.def @@ -1,4 +1,4 @@ -help: "Show given loopback interface information" +help: Show given loopback interface information allowed: local -a array ; array=( /sys/class/net/lo* ) ; echo -n ${array[@]##*/} diff --git a/templates/show/interfaces/node.def b/templates/show/interfaces/node.def index 577db98..c898266 100644 --- a/templates/show/interfaces/node.def +++ b/templates/show/interfaces/node.def @@ -1,2 +1,2 @@ -help: "Show network interface information" +help: Show network interface information run: ${vyatta_bindir}/vyatta-show-interfaces diff --git a/templates/show/interfaces/system/enabled/node.def b/templates/show/interfaces/system/enabled/node.def index d48e1f2..26bf441 100644 --- a/templates/show/interfaces/system/enabled/node.def +++ b/templates/show/interfaces/system/enabled/node.def @@ -1,2 +1,2 @@ -help: "Show network information of all enabled interfaces" +help: Show network information of all enabled interfaces run: ${vyatta_bindir}/vyatta-show-interfaces system enabled diff --git a/templates/show/interfaces/system/node.def b/templates/show/interfaces/system/node.def index e5de242..138a159 100644 --- a/templates/show/interfaces/system/node.def +++ b/templates/show/interfaces/system/node.def @@ -1,2 +1,2 @@ -help: "Show network information of all interfaces" +help: Show network information of all interfaces run: ${vyatta_bindir}/vyatta-show-interfaces system diff --git a/templates/show/interfaces/tunnel/node.def b/templates/show/interfaces/tunnel/node.def index a2f5d1c..bfc03ba 100644 --- a/templates/show/interfaces/tunnel/node.def +++ b/templates/show/interfaces/tunnel/node.def @@ -1,3 +1,3 @@ -help: "Show tunnel interface information" +help: Show tunnel interface information run: ${vyatta_bindir}/vyatta-show-interfaces tunnel diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def index 2bc5908..8dc252e 100644 --- a/templates/show/interfaces/tunnel/node.tag/node.def +++ b/templates/show/interfaces/tunnel/node.tag/node.def @@ -1,4 +1,4 @@ -help: "Show given tunnel interface information" +help: Show given tunnel interface information allowed: local -a array ; array=( /sys/class/net/sit* ) ; echo -n ${array[@]##*/} |