summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-06-13 15:35:29 -0700
committerStephen Hemminger <shemminger@vyatta.com>2012-06-13 15:35:29 -0700
commite8d7c423818240f1230a13174419f516dd2bb6c7 (patch)
treedfc456d67355785cbc896323478d583b077adde6
parentcd8f0919422215dd02f4f5b1e219bc3c3bc9cd27 (diff)
downloadvyatta-cfg-system-e8d7c423818240f1230a13174419f516dd2bb6c7.tar.gz
vyatta-cfg-system-e8d7c423818240f1230a13174419f516dd2bb6c7.zip
Fix help on for USB serial console
-rw-r--r--templates/system/console/device/node.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/system/console/device/node.def b/templates/system/console/device/node.def
index 118fea97..dec98638 100644
--- a/templates/system/console/device/node.def
+++ b/templates/system/console/device/node.def
@@ -1,8 +1,10 @@
tag:
type: txt
help: Serial console device name
-val_help: <ttyXX>; Serial device name
- <hvc0>; Xen console
+
+val_help: <ttySN>; Serial device name
+val_help: <ttyUSBX>; USB Serial device name
+val_help: <hvc0>; Xen console
syntax:expression: pattern $VAR(@) "^((tty[A-Z])|ttyUSB|(hvc)){1}[0-9]+$" \
; "console $VAR(@): not a valid tty name"