summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-12-02 14:08:52 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-12-02 15:02:46 -0800
commit4c5e7207dd7a12990e9b10e0bb8ca9e61e312e79 (patch)
treef322a661699b7555cb5c9d75d04f29b453c0bd96 /templates
parent2ecdc54c99554b128941ae831535c2fe133d920d (diff)
downloadvyatta-cfg-quagga-4c5e7207dd7a12990e9b10e0bb8ca9e61e312e79.tar.gz
vyatta-cfg-quagga-4c5e7207dd7a12990e9b10e0bb8ca9e61e312e79.zip
Allow configuring console speed etc
Bug 3849, 2289, 4126 Adds configuration of serial console: set system console { device ttyS0 { speed 19200 } device ttyACM0 { speed 57600 type modem } } This covers the cases of deleting serial console, changing speed, and allowing modem console devices
Diffstat (limited to 'templates')
-rw-r--r--templates/system/console/device/node.tag/modem/node.def2
-rw-r--r--templates/system/console/device/type/node.def5
-rw-r--r--templates/system/console/node.def3
3 files changed, 3 insertions, 7 deletions
diff --git a/templates/system/console/device/node.tag/modem/node.def b/templates/system/console/device/node.tag/modem/node.def
new file mode 100644
index 00000000..30e24cf7
--- /dev/null
+++ b/templates/system/console/device/node.tag/modem/node.def
@@ -0,0 +1,2 @@
+help: Device is Hayes compatiable modem
+
diff --git a/templates/system/console/device/type/node.def b/templates/system/console/device/type/node.def
deleted file mode 100644
index 9bce3b38..00000000
--- a/templates/system/console/device/type/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: txt
-allowed: echo modem direct
-help: Configure serial line paremeters
-val_help: direct ; Ignore carrier detect (local line)
-val_help: modem ; Use HAYES modem answering sequence
diff --git a/templates/system/console/node.def b/templates/system/console/node.def
index 92d2f79b..d42f8cf6 100644
--- a/templates/system/console/node.def
+++ b/templates/system/console/node.def
@@ -1,4 +1,3 @@
priority: 100
help: Serial console configuration
-# don't do configuration yet -- still broken
-#end: sudo /opt/vyatta/sbin/vyatta_update_console.pl
+end: sudo /opt/vyatta/sbin/vyatta_update_console.pl