mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Merge 1ddcf99fc642e6cf2482129058811cf327291797 into 7a96fb100cf385e05c211937b509d2bf166299e6
This commit is contained in:
commit
82b46df4e0
@ -25,7 +25,7 @@ elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
|
||||
fi
|
||||
|
||||
# Ethernet
|
||||
[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐" || ethericon="❎"
|
||||
[ "$(cat /sys/class/net/e*/operstate 2>/dev/null | grep "up")" = 'up' ] && ethericon="🌐" || ethericon="❎"
|
||||
|
||||
# TUN
|
||||
[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user