diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-11 14:53:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-11 14:53:20 +0200 |
commit | fa967a84e6049064bf1f9a7ad41256f75632466c (patch) | |
tree | e038435e3768d6ecd6fbf9649ca684122417c458 /templates/system/console/device/node.def | |
parent | 95deffa6dbb48adeb54e03aa0f0e00c1c37f00cf (diff) | |
download | vyatta-cfg-system-fa967a84e6049064bf1f9a7ad41256f75632466c.tar.gz vyatta-cfg-system-fa967a84e6049064bf1f9a7ad41256f75632466c.zip |
console: T2569: migrate to vyos-1x
Diffstat (limited to 'templates/system/console/device/node.def')
-rw-r--r-- | templates/system/console/device/node.def | 16 |
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 " |