diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-14 13:33:08 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-14 13:33:08 -0700 |
commit | e32a26b4f023012a2492af484df8bd0ec51cf43a (patch) | |
tree | 6854d97a3214863a09ed3cf275e3cac3c9fc3604 /templates/system/console/node.def | |
parent | 6574830f00496d9d2075641c29b0ed0a3487b3e3 (diff) | |
download | vyatta-cfg-quagga-e32a26b4f023012a2492af484df8bd0ec51cf43a.tar.gz vyatta-cfg-quagga-e32a26b4f023012a2492af484df8bd0ec51cf43a.zip |
Add support for setting up serial console ports
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 |