config

My configuration files and custom scripts.
git clone https://git.tronto.net/config
Download | Log | Files | Refs

commit 421cc62951db8445f830b2d220880e0b681a408c
parent 2ad7375ba74afb34df3fdcc99dc0e5f8666af3d5
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Tue, 12 May 2026 09:02:52 +0200

Fix error message

Diffstat:
Mscripts/status-linux | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/status-linux b/scripts/status-linux @@ -37,7 +37,7 @@ fi # Thank you iwctl for saving us from this dreadful existence network="$(iwctl station wlan0 show | grep 'Connected network' | \ awk '{$1=$2=""; $0=$0; print}' | sed 's/^ .//')" -if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then +if [ "$(cat /sys/class/net/eth0/carrier 2>/dev/null)" = 1 ]; then if [ -z "$network" ]; then network="eth" else