summaryrefslogtreecommitdiff
path: root/templates/system/console/device/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/console/device/node.def')
-rw-r--r--templates/system/console/device/node.def16
1 files changed, 0 insertions, 16 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 "