From e32a26b4f023012a2492af484df8bd0ec51cf43a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 14 Oct 2010 13:33:08 -0700 Subject: Add support for setting up serial console ports --- templates/system/console/node.def | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/system/console/node.def (limited to 'templates/system/console/node.def') 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 -- cgit v1.2.3