Change message of the day

This commit is contained in:
waal70
2025-10-12 15:12:24 +02:00
parent 70ebfadeb9
commit c25ef79674
18 changed files with 1001 additions and 96 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
source /etc/update-motd.d/colors.txt
echo -e " ${TITLE_COLOR}Load Averages.......:${DEFAULT_COLOR} 1 min: ${TEXT_COLOR}$(cat /proc/loadavg | cut -f1 -d' ')%${DEFAULT_COLOR} | 5 mins: ${TEXT_COLOR}$(cat /proc/loadavg | cut -f2 -d' ')%${DEFAULT_COLOR} | 15 mins: ${TEXT_COLOR}$(cat /proc/loadavg | cut -f3 -d' ')%${NC}"