summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet/node.def
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-24 13:33:46 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-24 13:33:46 -0700
commita309f120a9ff472d45544a9101226334e426e76a (patch)
treebfdb25a51f42443587668e8fd5ba0597b0d744d9 /templates/interfaces/ethernet/node.def
parentc29e34d11a22eecbaa50fa134965f2fa036f47f3 (diff)
parent7fd560b72df1b327b4b47a6232dfcf16d6fae52c (diff)
downloadvyatta-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.def2
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 ; "