mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-06 11:23:06 +02:00
fix: make ethernet block work on more devices
This commit is contained in:
parent
0a7a70eb9c
commit
b5920b538e
@ -45,7 +45,7 @@ interval=1
|
||||
|
||||
|
||||
[ethernet]
|
||||
command=ip -o -4 addr show enp6s0 | awk '{print " "$4}' || echo " down" # for Ethernet
|
||||
command=ip -o -4 addr show | grep -E 'enp6s0|eth0' | awk '{print " "$4}' || echo " down" # for Ethernet
|
||||
interval=10
|
||||
color=#FFFFFF
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user