summaryrefslogtreecommitdiff
path: root/src/completion/list_wireless_phys.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/completion/list_wireless_phys.sh')
-rwxr-xr-xsrc/completion/list_wireless_phys.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/completion/list_wireless_phys.sh b/src/completion/list_wireless_phys.sh
new file mode 100755
index 000000000..70b8d1ff9
--- /dev/null
+++ b/src/completion/list_wireless_phys.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -d /sys/class/ieee80211 ]; then
+ ls -x /sys/class/ieee80211
+fi