From 677636417424a6e4bc92dbde50c95bb123ad9a87 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Thu, 6 Feb 2025 11:55:58 +0000 Subject: [PATCH] Poprawienie bledu w skrypcie motd --- motd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motd b/motd index 219b6e0..0bb6289 100755 --- a/motd +++ b/motd @@ -22,7 +22,7 @@ for mountPoint in $mountPointsList; do echo -e "\t$(echo $mountPoint | sed 's,\$,,'):\t\t${diskFree}/${diskSize}\t(${diskUsage_perc}%)"; fi done -echo -e " \tIP: $(ip addr show $(sed -n '2p' /proc/net/route | awk '{printf $1}') | grep 'inet\ ' | awk '{printf $2"\n"}') +echo -e " \tIP: $(ip addr show $(sed -n '2p' /proc/net/route | awk '{printf $1}') | grep 'inet\ ' | awk '{printf $2"\n"}')"; echo -e " \tPROCESSES: $(ps -aux | wc -l | awk '{printf $1}')"; if $(uptime | grep -q 'day'); then utime=$(uptime | awk '{printf $3" "$4" "$5}' | sed -e 's/\,$//' -e 's,:,h ,'); -- 2.39.5