diff options
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/ser2net.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/ser2net.xml.in b/interface-definitions/ser2net.xml.in index 84bb82a20..b9520d20b 100644 --- a/interface-definitions/ser2net.xml.in +++ b/interface-definitions/ser2net.xml.in @@ -11,8 +11,8 @@ <properties> <help>System serial interface name (ttyS or ttyUSB)</help> <completionHelp> - <script>find /dev -name ttyS* -exec basename {} \; | sort</script> - <script>find /dev -name ttyUSB* -exec basename {} \; | sort</script> + <script>ls -1 /dev | grep ttyS</script> + <script>ls -1 /dev/serial/by-bus</script> </completionHelp> <valueHelp> <format>ttySxxx</format> |