From 501f26e561862e700ae475c2f30e5c01e2448fe3 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Sat, 5 Jul 2025 09:48:42 +0800 Subject: [PATCH] motd: fix another alignment issue --- packages/bsp/common/etc/update-motd.d/30-armbian-sysinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bsp/common/etc/update-motd.d/30-armbian-sysinfo b/packages/bsp/common/etc/update-motd.d/30-armbian-sysinfo index e1bed7111..7707b1820 100755 --- a/packages/bsp/common/etc/update-motd.d/30-armbian-sysinfo +++ b/packages/bsp/common/etc/update-motd.d/30-armbian-sysinfo @@ -139,7 +139,7 @@ echo -ne "\x1B[91m(read only rootfs)\x1B[0m" fi echo "" # fixed newline a=0 -display " storage/" "$storage_usage" "90" "1" "%" " of $storage_total" ; a=$((a+$?)) +display " storage /" "$storage_usage" "90" "1" "%" " of $storage_total" ; a=$((a+$?)) display " storage temp" "$storage_temp" $HDD_TEMP_LIMIT "0" "°C" "" ; a=$((a+$?)) display " Battery" "$battery_percent" "20" "1" "%" "$status_battery_text" ; a=$((a+$?)) (( $a > 0 )) && echo "" # new line only if some value is displayed