summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-04 20:26:54 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-04 20:29:43 +0200
commite5f1df1988a16d683b72a99bbf9c37305131c49e (patch)
tree8cdb5caa50206b2593bcd8453390788519dcc4b0
parentce4a1eb35a91c9ac1a95e2418c1300004272e1a7 (diff)
downloadvyos-1x-e5f1df1988a16d683b72a99bbf9c37305131c49e.tar.gz
vyos-1x-e5f1df1988a16d683b72a99bbf9c37305131c49e.zip
wifi: T4339: tab-completion results in "No such file or directory"
(cherry picked from commit 175b0a082808955adba811f18424a126e798dd32)
-rw-r--r--interface-definitions/interfaces-wireless.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in
index cc3fe2a6a..77afa3b15 100644
--- a/interface-definitions/interfaces-wireless.xml.in
+++ b/interface-definitions/interfaces-wireless.xml.in
@@ -6,6 +6,9 @@
<properties>
<help>Wireless (WiFi/WLAN) Network Interface</help>
<priority>318</priority>
+ <completionHelp>
+ <script>cd /sys/class/net; if compgen -G "wlan*" > /dev/null; then ls -d wlan*; fi</script>
+ </completionHelp>
<constraint>
<regex>^wlan[0-9]+$</regex>
</constraint>