summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-06-12 14:58:27 -0700
committerStephen Hemminger <shemminger@vyatta.com>2012-06-12 14:58:27 -0700
commite0ecc1800c9f06efe3103d50a61bea1205e44a0e (patch)
tree17be03c031a3393c58bc38bb6cc4c973ea6a9863
parente012263d673d42655c63986d36f877ebf7ac07d4 (diff)
downloadvyatta-cfg-system-e0ecc1800c9f06efe3103d50a61bea1205e44a0e.tar.gz
vyatta-cfg-system-e0ecc1800c9f06efe3103d50a61bea1205e44a0e.zip
Allow USB serial console
Bug 7724 related.
-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 d2b279b8..118fea97 100644
--- a/templates/system/console/device/node.def
+++ b/templates/system/console/device/node.def
@@ -4,7 +4,7 @@ help: Serial console device name
val_help: <ttyXX>; Serial device name
<hvc0>; Xen console
-syntax:expression: pattern $VAR(@) "^((tty[A-Z])||(hvc)){1}[0-9]+$" \
+syntax:expression: pattern $VAR(@) "^((tty[A-Z])|ttyUSB|(hvc)){1}[0-9]+$" \
; "console $VAR(@): not a valid tty name"
end: sudo sh -c "