mirror of https://github.com/aredn/aredn.git
Ignore 'iw phy' command if no phy device (#287)
This commit is contained in:
parent
d9c2bb1bee
commit
64d315ada5
|
@ -87,7 +87,7 @@ local cmds = {
|
||||||
"ip rule list",
|
"ip rule list",
|
||||||
"iwinfo",
|
"iwinfo",
|
||||||
"iwinfo " .. wifiif .. " assoclist",
|
"iwinfo " .. wifiif .. " assoclist",
|
||||||
"iw phy " .. phy .. " info",
|
phy and "iw phy " .. phy .. " info" or "",
|
||||||
"iw dev " .. wifiif .. " info",
|
"iw dev " .. wifiif .. " info",
|
||||||
"iw dev " .. wifiif .. " scan",
|
"iw dev " .. wifiif .. " scan",
|
||||||
"iw dev " .. wifiif .. " station dump",
|
"iw dev " .. wifiif .. " station dump",
|
||||||
|
|
Loading…
Reference in New Issue