mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
3 Commits
2d3b052d99
...
5e62826771
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e62826771 | ||
|
|
d822a921d5 | ||
|
|
1ddcf99fc6 |
@ -25,7 +25,7 @@ elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Ethernet
|
# Ethernet
|
||||||
[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐" || ethericon="❎"
|
cat /sys/class/net/e*/operstate 2>/dev/null | grep -q "up" && ethericon="🌐" || ethericon="❎"
|
||||||
|
|
||||||
# TUN
|
# TUN
|
||||||
[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒"
|
[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user