From 5a8a8f0932fe2b27a5f64bdc41468a4393b97365 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Sun, 30 Jun 2024 22:17:57 -0400 Subject: [PATCH] Fix motd --- script-install-motd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/script-install-motd b/script-install-motd index 517955d4..028d7506 100755 --- a/script-install-motd +++ b/script-install-motd @@ -77,7 +77,7 @@ undim="\e[0m" # disk usage: ignore zfs, squashfs & tmpfs while IFS= read -r line; do dfs+=("$line"); done < <(df -H -x zfs -x squashfs -x tmpfs -x devtmpfs -x overlay --output=target,pcent,size | tail -n+2) -printf "\nDisk usage:\n" +printf "\nDisk usage\n" for line in "${dfs[@]}"; do # get disk usage @@ -213,7 +213,7 @@ for i in ${!services[@]}; do done out+="\n" -printf "\nServices:\n" +printf "\nServices\n" printf "$out" | column -ts $',' | sed -e 's/^/ /' EOF @@ -235,7 +235,7 @@ for jail in ${jails[@]}; do out+="$jail,$failed,$totalfailed,$banned,$totalbanned\n" done -printf "\nfail2ban status:\n" +printf "\nfail2ban status\n" printf $out | column -ts $',' | sed -e 's/^/ /' EOF @@ -243,11 +243,11 @@ EOF cat <<- 'EOF' >> "$script" echo "\ -Links (ctrl+click to follow): -cockpit (administrators): http://localhost:9090 -robot cam...............: http://localhost:8888 -robot computer..........: vnc://192.168.16.101:5900 -manual..................: https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY +Links (ctrl+click to follow) + cockpit (administrators): http://localhost:9090 + robot cam...............: http://localhost:8888 + robot computer..........: vnc://192.168.16.101:5900 + manual..................: https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY " EOF