summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-14 18:28:03 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-14 18:28:03 -0700
commit624afb6fea8a537bc2f0506ab18f23293c905f38 (patch)
treeaa57d22e44be2f36e997cabafd662dd0a8b61860 /templates
parentc59e8b9812d7795d96a07db879a5626f4f1d2e7a (diff)
parentaefffdc38e5df3a74e3799e397fd48b17a88d1f2 (diff)
downloadvyatta-cfg-624afb6fea8a537bc2f0506ab18f23293c905f38.tar.gz
vyatta-cfg-624afb6fea8a537bc2f0506ab18f23293c905f38.zip
Merge branch 'glendale' into hollywood
Diffstat (limited to 'templates')
-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 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 ; "