1
0
mirror of https://github.com/limosek/zaf-plugins.git synced 2025-01-21 23:45:56 +01:00

Repaired iwx discovery

This commit is contained in:
Lukas Macura 2016-12-09 17:52:34 +01:00
parent 990f9e3564
commit 9e0f37bd62

View File

@ -2,9 +2,9 @@
wifi_ifphylist() {
if [ "$1" = "phy" ]; then
iw dev | grep Interface | cut -d ' ' -f 2
else
iw phy | grep Wiphy | cut -d ' ' -f 2
else
iw dev | grep Interface | cut -d ' ' -f 2
fi
}