From e06e5b914cd0b51848d9b836467f49b99cfe40cc Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 9 Mar 2021 21:44:34 +0100 Subject: console-server: T3382: proper check for existence of /dev/serial/by-bus The completion helper was directly called on the /dev/serial/by-bus directory, but it was not verified if the directory exists at all. --- interface-definitions/service_console-server.xml.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'interface-definitions/service_console-server.xml.in') diff --git a/interface-definitions/service_console-server.xml.in b/interface-definitions/service_console-server.xml.in index 59a9fe237..5905afe58 100644 --- a/interface-definitions/service_console-server.xml.in +++ b/interface-definitions/service_console-server.xml.in @@ -13,7 +13,7 @@ System serial interface name (ttyS or ttyUSB) - + ttySxxx @@ -36,7 +36,7 @@ 300 1200 2400 4800 9600 19200 38400 57600 115200 - (300|1200|2400|4800|9600|19200|38400|57600|115200) + ^(300|1200|2400|4800|9600|19200|38400|57600|115200)$ @@ -47,7 +47,7 @@ 7 8 - (7|8) + 8 @@ -59,7 +59,7 @@ 1 2 - (1|2) + 1 @@ -71,7 +71,7 @@ even odd none - (even|odd|none) + ^(even|odd|none)$ none -- cgit v1.2.3