mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
motd: fix another alignment issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user