summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet/node.def
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-24 18:43:13 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-24 18:43:13 -0700
commitb7750af0fa67e28cf6eb607408485dbda194837b (patch)
treeda0729ef58b5fa5ed9673b3d9c11a953cddd8fcc /templates/interfaces/ethernet/node.def
parent5471d0359de347017c618076cf0f17a06f764952 (diff)
downloadvyatta-cfg-b7750af0fa67e28cf6eb607408485dbda194837b.tar.gz
vyatta-cfg-b7750af0fa67e28cf6eb607408485dbda194837b.zip
* add dynamic "allowed" support for config-mode completion.
* add support for completion help text. * add an example for each of the above ("ethernet" and "ethernet/duplex").
Diffstat (limited to 'templates/interfaces/ethernet/node.def')
-rw-r--r--templates/interfaces/ethernet/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def
index b5a320e..8806643 100644
--- a/templates/interfaces/ethernet/node.def
+++ b/templates/interfaces/ethernet/node.def
@@ -6,3 +6,6 @@ syntax: exec " \
echo ethernet interface $(@) doesn\\'t exist on this system ; \
exit 1 ; \
fi ; "
+#allowed: local -a array ;
+# array=( /sys/class/net/{eth,vmnet}* ) ;
+# echo -n ${array[@]##*/}