This commit is contained in:
2024-06-30 22:12:17 -04:00
parent 84fcf10c20
commit f15fb7d530

View File

@@ -77,7 +77,7 @@ undim="\e[0m"
# disk usage: ignore zfs, squashfs & tmpfs # 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) 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 for line in "${dfs[@]}"; do
# get disk usage # get disk usage
@@ -213,7 +213,7 @@ for i in ${!services[@]}; do
done done
out+="\n" out+="\n"
printf "\nservices:\n" printf "\nServices:\n"
printf "$out" | column -ts $',' | sed -e 's/^/ /' printf "$out" | column -ts $',' | sed -e 's/^/ /'
EOF EOF
@@ -243,7 +243,7 @@ EOF
cat <<- 'EOF' >> "$script" cat <<- 'EOF' >> "$script"
echo "\ echo "\
links (ctrl+click to follow): Links (ctrl+click to follow):
cockpit (administrators): http://localhost:9090 cockpit (administrators): http://localhost:9090
robot cam...............: http://localhost:8888 robot cam...............: http://localhost:8888
robot computer..........: vnc://192.168.16.101:5900 robot computer..........: vnc://192.168.16.101:5900