remove space
This commit is contained in:
parent
9f8b1987cd
commit
04d096c2bc
@ -21,7 +21,7 @@ esac
|
|||||||
if [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'up' ] ; then
|
if [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'up' ] ; then
|
||||||
wifiicon="$(awk '/^\s*w/ { print "" }' /proc/net/wireless)"
|
wifiicon="$(awk '/^\s*w/ { print "" }' /proc/net/wireless)"
|
||||||
elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
|
elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
|
||||||
[ "$(cat /sys/class/net/w*/flags 2>/dev/null)" = '0x1003' ] && wifiicon=" " || wifiicon="❌"
|
[ "$(cat /sys/class/net/w*/flags 2>/dev/null)" = '0x1003' ] && wifiicon="" || wifiicon="❌"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ethernet
|
# Ethernet
|
||||||
|
Loading…
Reference in New Issue
Block a user