summaryrefslogtreecommitdiff
path: root/src/conf_mode/ser2net.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-29 22:49:02 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-18 21:45:35 +0200
commit6727ddc78035c14ca5015419ef4a9240af8288d8 (patch)
treec6f94fb40dd22e32efa33fcf1713718bcee46ca3 /src/conf_mode/ser2net.py
parent538333e24e65583df8c76d9f211ef58edb6176a1 (diff)
downloadvyos-1x-6727ddc78035c14ca5015419ef4a9240af8288d8.tar.gz
vyos-1x-6727ddc78035c14ca5015419ef4a9240af8288d8.zip
console-server: T2490: use new USB ports "by-bus"
Diffstat (limited to 'src/conf_mode/ser2net.py')
-rwxr-xr-xsrc/conf_mode/ser2net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/ser2net.py b/src/conf_mode/ser2net.py
index 5231a6a05..ec8afcb48 100755
--- a/src/conf_mode/ser2net.py
+++ b/src/conf_mode/ser2net.py
@@ -46,7 +46,7 @@ def get_config():
'data_bits': '',
'parity': '',
'port': '',
- 'serial_port': '/dev/' + serial_port,
+ 'serial_port': '/dev/serial/by-bus/' + serial_port,
'speed': '',
'stop_bits': '',
'timeout': '600'