commit 9b80cd617773c905545cd17f29b614443199675b parent 3772b7eceb816967342438e6c849a189ec1ad38a Author: Claudio Alessi <smoppy@gmail.com> Date: Wed, 30 Jun 2021 19:25:47 +0200 [iwpick] Extend detection to down interfaces. Diffstat:
M | src/iwpick | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/iwpick b/src/iwpick @@ -69,7 +69,7 @@ exit 1 } main() { - iface="$(ifconfig -s |grep ^wl |head -1 |cut -d ' ' -f1)" + iface="$(ifconfig -a -s |grep ^wl |head -1 |cut -d ' ' -f1)" file="$NETWORKS_FILE" alias= essid=