diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-04-15 13:55:02 -0700 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-04-15 13:55:02 -0700 |
commit | 828f6cabd4428ee2929adf7ce133b785e10d790d (patch) | |
tree | 38395db592c911c240ec5373b196883ce7551cc0 | |
parent | 6f76a6068eff7d50f9725e3edff3bb963d8f1e88 (diff) | |
parent | 11b6d5a10029971dd7748719e13903e6c60da5f1 (diff) | |
download | vyatta-cfg-828f6cabd4428ee2929adf7ce133b785e10d790d.tar.gz vyatta-cfg-828f6cabd4428ee2929adf7ce133b785e10d790d.zip |
Merge branch 'hollywood' of http://git.vyatta.com/vyatta-cfg into hollywood
-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 d2cfa84..4c311fc 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -2,7 +2,7 @@ tag: type: txt help: Set ethernet interface 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 ; " |