mirror of
https://github.com/kuhyx/scripts.git
synced 2026-11-22 16:32:23 +01:00
fix: make ethernet block work on more devices
This commit is contained in:
parent
9aaeca58c4
commit
90411ddf7d
@ -45,7 +45,7 @@ interval=1
|
|||||||
|
|
||||||
|
|
||||||
[ethernet]
|
[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
|
interval=10
|
||||||
color=#FFFFFF
|
color=#FFFFFF
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user