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}Memory..............:${DEFAULT_COLOR} ${NC}Used: ${TEXT_COLOR}$(free -m | grep Mem: | xargs | cut -f3 -d' ')${DEFAULT_COLOR} ${NC}MB | ${NC}Free: ${TEXT_COLOR}$(free -m | grep Mem: | xargs | cut -f7 -d' ')${DEFAULT_COLOR} ${NC}MB | ${NC}Total: ${TEXT_COLOR}$(free -m | grep Mem: | xargs | cut -f2 -d' ')${DEFAULT_COLOR} ${NC}MB"