summaryrefslogtreecommitdiff
path: root/templates/system/console/device
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/console/device')
-rw-r--r--templates/system/console/device/node.def16
-rw-r--r--templates/system/console/device/node.tag/modem/node.def2
-rw-r--r--templates/system/console/device/node.tag/speed/node.def15
3 files changed, 0 insertions, 33 deletions
diff --git a/templates/system/console/device/node.def b/templates/system/console/device/node.def
deleted file mode 100644
index 00438947..00000000
--- a/templates/system/console/device/node.def
+++ /dev/null
@@ -1,16 +0,0 @@
-tag:
-type: txt
-help: Serial console device name
-
-val_help: <ttySN>; Serial device name
-val_help: <ttyUSBX>; USB Serial device name
-val_help: <hvc0>; Xen console
-
-syntax:expression: pattern $VAR(@) "^((tty[A-Z])|ttymxc|ttyUSB|(hvc)){1}[0-9]+$" \
- ; "console $VAR(@): not a valid tty name"
-
-end: sudo sh -c "
- declare -a devices=( $VAR(@@) )
- if [ "\${#devices[*]}" == "0" ]; then
- echo Warning: Access to system console is unconfigured
- fi "
diff --git a/templates/system/console/device/node.tag/modem/node.def b/templates/system/console/device/node.tag/modem/node.def
deleted file mode 100644
index 30e24cf7..00000000
--- a/templates/system/console/device/node.tag/modem/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Device is Hayes compatiable modem
-
diff --git a/templates/system/console/device/node.tag/speed/node.def b/templates/system/console/device/node.tag/speed/node.def
deleted file mode 100644
index 2bd4d7f0..00000000
--- a/templates/system/console/device/node.tag/speed/node.def
+++ /dev/null
@@ -1,15 +0,0 @@
-type: u32
-help: Console baud rate.
-allowed: echo 1200 2400 4800 9600 19200 38400 57600 115200
-syntax:expression: $VAR(@) in 1200, 2400, 4800, 9600, 19200, 38400, \
- 57600, 115200 ; "unknown baud rate"
-
-val_help: 1200; 1200 bps
-val_help: 2400; 2400 bps
-val_help: 4800; 4800 bps
-val_help: 9600; 9600 bps
-val_help: 19200; 19,200 bps
-val_help: 38400; 38,400 bps (default for Xen console)
-val_help: 57600; 57,600 bps
-val_help: 115200; 115,200 bps (default for serial console)
-