diff options
Diffstat (limited to 'templates/system/console/node.def')
-rw-r--r-- | templates/system/console/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/system/console/node.def b/templates/system/console/node.def new file mode 100644 index 00000000..9e946c7e --- /dev/null +++ b/templates/system/console/node.def @@ -0,0 +1,7 @@ +tag: +type: txt +help: Serial console configuration +allowed: (cd $dev; echo tty*) +syntax:expression: pattern $VAR(@) "^tty[A-Z0-9]+$" \ + ; "console $VAR(@): not a valid tty name" +end: /opt/vyatta/sbin/vyatta_update_console.pl |