diff options
Diffstat (limited to 'templates/interfaces/ethernet/node.def')
-rw-r--r-- | templates/interfaces/ethernet/node.def | 3 |
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[@]##*/} |