wifi add no net
This commit is contained in:
parent
257e59e067
commit
3a35a95ce9
@ -3,4 +3,9 @@
|
|||||||
power=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f8)
|
power=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f8)
|
||||||
name=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f14)
|
name=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f14)
|
||||||
|
|
||||||
echo " $name $power"
|
if [[ ! $name ]]
|
||||||
|
then
|
||||||
|
echo " "
|
||||||
|
else
|
||||||
|
echo " $name $power"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user