summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-07 17:09:31 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-07 17:09:31 +0200
commit6179a89fd4c14acfac478c9770263fcf7f3ce246 (patch)
tree0f0d3a76682a65ef076b6fb628a312d04ffe05a5 /interface-definitions
parent760bf1a9bcac34bd786aa62edbe9a01d03e10f99 (diff)
parentb5cc8f4ae4178761d64c3e01e133c79219c2d756 (diff)
downloadvyos-1x-6179a89fd4c14acfac478c9770263fcf7f3ce246.tar.gz
vyos-1x-6179a89fd4c14acfac478c9770263fcf7f3ce246.zip
Merge branch 'udev' of github.com:c-po/vyos-1x into current
* 'udev' of github.com:c-po/vyos-1x: usb: op-mode: T2560: display USB interface information pppoe: op-mode: T2488: retrieve log info from journalctl wwan: op-mode: T2488: retrieve log info from journalctl wwan: T2241: interface is not bond- or bridgeable wwan: T2488: remove generation of dedicated logfile wwan: T2529: migrate device from ttyUSB to usbXbY.YpZ.Z udev: T2490: add persistent USB device files
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-wirelessmodem.xml.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/interface-definitions/interfaces-wirelessmodem.xml.in b/interface-definitions/interfaces-wirelessmodem.xml.in
index 91eee56ab..d5f2e04d7 100644
--- a/interface-definitions/interfaces-wirelessmodem.xml.in
+++ b/interface-definitions/interfaces-wirelessmodem.xml.in
@@ -46,12 +46,16 @@
#include <include/interface-vrf.xml.i>
<leafNode name="device">
<properties>
- <help>System device name (default: ttyUSB0)</help>
+ <help>Serial device </help>
<completionHelp>
- <script>ls -1 /dev | grep ttyUSB</script>
+ <script>ls -1 /dev /dev/serial/by-bus | grep -e ttyS[0-9]* -e usb[0-9]*</script>
</completionHelp>
<valueHelp>
- <format>ttyXXX</format>
+ <format>ttySXX</format>
+ <description>System TTY device name</description>
+ </valueHelp>
+ <valueHelp>
+ <format>usbXbY.YpZ.Z</format>
<description>System TTY device name</description>
</valueHelp>
</properties>