summaryrefslogtreecommitdiff
path: root/templates/system
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2011-03-15 12:33:21 -0700
committerRobert Bays <robert@vyatta.com>2011-03-15 12:34:59 -0700
commit1edcbef6659695508dfecef648fb94e16f445966 (patch)
tree1c90d94589bd1dcd683bef4d597660b41b64a608 /templates/system
parent027f3ba3c8bc757a9bf86cb5ac23b7323a2e7a5e (diff)
downloadvyatta-cfg-system-1edcbef6659695508dfecef648fb94e16f445966.tar.gz
vyatta-cfg-system-1edcbef6659695508dfecef648fb94e16f445966.zip
match console type only once.
Diffstat (limited to 'templates/system')
-rw-r--r--templates/system/console/device/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/console/device/node.def b/templates/system/console/device/node.def
index 68ee5724..41fcf3fb 100644
--- a/templates/system/console/device/node.def
+++ b/templates/system/console/device/node.def
@@ -4,6 +4,6 @@ help: Serial console device name
val_help: <ttyXX>; Serial device name
<hvc0>; Xen console
-syntax:expression: pattern $VAR(@) "^((tty[A-Z])||(hvc))+[0-9]+$" \
+syntax:expression: pattern $VAR(@) "^((tty[A-Z])||(hvc)){1}[0-9]+$" \
; "console $VAR(@): not a valid tty name"