diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-09-28 06:42:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 06:42:35 +0200 |
commit | fe3ef62a1f3591246b2c19a103f6842cc3f4b6e5 (patch) | |
tree | ebd1d94d11ce94cf7bd76eab5539db04dc96c136 /src/completion/list_consoles.sh | |
parent | 53bd9fe11e449c66656fef9cb72084d5d0800a75 (diff) | |
parent | 3930be3b878643034fcfa99d9f428a0d38daec35 (diff) | |
download | vyos-1x-fe3ef62a1f3591246b2c19a103f6842cc3f4b6e5.tar.gz vyos-1x-fe3ef62a1f3591246b2c19a103f6842cc3f4b6e5.zip |
Merge pull request #1559 from insertjokehere/console-server-names
conserver: T4717: Support for setting a name for console-server devices
Diffstat (limited to 'src/completion/list_consoles.sh')
-rwxr-xr-x | src/completion/list_consoles.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/completion/list_consoles.sh b/src/completion/list_consoles.sh new file mode 100755 index 000000000..52278c4cb --- /dev/null +++ b/src/completion/list_consoles.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# For lines like `aliases "foo";`, regex matches everything between the quotes +grep -oP '(?<=aliases ").+(?=";)' /run/conserver/conserver.cf
\ No newline at end of file |