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:
parent
990f9e3564
commit
9e0f37bd62
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
wifi_ifphylist() {
|
wifi_ifphylist() {
|
||||||
if [ "$1" = "phy" ]; then
|
if [ "$1" = "phy" ]; then
|
||||||
iw dev | grep Interface | cut -d ' ' -f 2
|
|
||||||
else
|
|
||||||
iw phy | grep Wiphy | cut -d ' ' -f 2
|
iw phy | grep Wiphy | cut -d ' ' -f 2
|
||||||
|
else
|
||||||
|
iw dev | grep Interface | cut -d ' ' -f 2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user