summaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-06 17:20:34 +0200
committerChristian Poessinger <christian@poessinger.com>2019-11-23 20:44:01 +0100
commit4c9d0ec3ac7b88af225118b60f5aa01e6f3d29f1 (patch)
treee8ef979263a9e78153fedb1aaf5654db9b116704 /src/completion
parentb1cc15ab68925fb333f1e75862faefa365ac18d1 (diff)
downloadvyos-1x-4c9d0ec3ac7b88af225118b60f5aa01e6f3d29f1.tar.gz
vyos-1x-4c9d0ec3ac7b88af225118b60f5aa01e6f3d29f1.zip
wireless: T1627: initial rewrite in XML/Python style
Working: - Wireless modes b, g, n, ac - WPA/WPA2 psk and RADIUS (tested using Microsoft NPS)
Diffstat (limited to 'src/completion')
-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