summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/system/console/device/node.def8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/system/console/device/node.def b/templates/system/console/device/node.def
index 76ce02bc..20fd6580 100644
--- a/templates/system/console/device/node.def
+++ b/templates/system/console/device/node.def
@@ -1,6 +1,8 @@
tag:
type: txt
help: Serial console device name
-val_help: <ttyX>; Serial device name
-syntax:expression: pattern $VAR(@) "^tty[A-Z0-9]+$" \
- ; "console $VAR(@): not a valid tty name"
+val_help: <ttyXX>; Serial device name
+
+syntax:expression: pattern $VAR(@) "^tty[A-Z]+[0-9]+$" \
+ ; "console $VAR(@): not a valid tty name"
+