style: fix indentation
This commit is contained in:
parent
8a95534bc6
commit
4a2276dbee
@ -1 +1 @@
|
|||||||
Subproject commit f27d192eb20cbf9cf690a372f342110b7347c8d6
|
Subproject commit 045f006c50d782a6d3acbd8a07d1595322ff7e43
|
@ -1 +1 @@
|
|||||||
Subproject commit b4f9698733d7b29cc495e649e26fd6c3a5dcfcae
|
Subproject commit 673b9fc3317d48a169fe612575186b3eb1a42a13
|
BIN
bin/crypto
BIN
bin/crypto
Binary file not shown.
@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
readarray -t NET <<< \
|
||||||
|
"$(nmcli -f SSID,CHAN,RATE,SIGNAL,BARS,SECURITY dev wifi list \
|
||||||
|
| awk '!seen[$1]++')"
|
||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
nmcli device wifi con "$1"
|
nmcli device wifi con "$1"
|
||||||
else
|
else
|
||||||
readarray -t NET <<< \
|
|
||||||
"$(nmcli -f SSID,CHAN,RATE,SIGNAL,BARS,SECURITY dev wifi list \
|
|
||||||
| awk '!seen[$1]++')"
|
|
||||||
|
|
||||||
COLUMNS=1
|
COLUMNS=1
|
||||||
select net in "${NET[@]}"; do
|
select net in "${NET[@]}"; do
|
||||||
nmcli device wifi con "$(awk '{print $1}' <<< "$net")" && break
|
nmcli device wifi con "$(awk '{print $1}' <<< "$net")" && break
|
||||||
|
Loading…
Reference in New Issue
Block a user