diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-04-24 13:33:46 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-04-24 13:33:46 -0700 |
commit | a309f120a9ff472d45544a9101226334e426e76a (patch) | |
tree | bfdb25a51f42443587668e8fd5ba0597b0d744d9 /templates/interfaces/ethernet/node.def | |
parent | c29e34d11a22eecbaa50fa134965f2fa036f47f3 (diff) | |
parent | 7fd560b72df1b327b4b47a6232dfcf16d6fae52c (diff) | |
download | vyatta-cfg-a309f120a9ff472d45544a9101226334e426e76a.tar.gz vyatta-cfg-a309f120a9ff472d45544a9101226334e426e76a.zip |
Merge branch 'glendale'
Diffstat (limited to 'templates/interfaces/ethernet/node.def')
-rw-r--r-- | templates/interfaces/ethernet/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index eee64cd..baf824b 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -2,7 +2,7 @@ tag: type: txt help: Ethernet interface name syntax:expression: exec " \ - if [ -z \"`ip link | egrep -v 'eth[0-9]+[.]' | grep $VAR(@)`\" ]; then \ + if [ -z \"`ip link | grep eth | egrep -v 'eth[0-9]+[.]' | grep $VAR(@)`\" ]; then \ echo Invalid ethernet interface [$VAR(@)]; \ exit 1 ; \ fi ; " |