summaryrefslogtreecommitdiff
path: root/interface-definitions
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:26:54 +0200
commit175b0a082808955adba811f18424a126e798dd32 (patch)
tree29ed6e296a1b5198d4688e3eb4a87120a217c87e /interface-definitions
parent671abc96ac607226e208ac94b87a33851c144945 (diff)
downloadvyos-1x-175b0a082808955adba811f18424a126e798dd32.tar.gz
vyos-1x-175b0a082808955adba811f18424a126e798dd32.zip
wifi: T4339: tab-completion results in "No such file or directory"
Diffstat (limited to 'interface-definitions')
-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 eebe8f841..ef56c208a 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>