Linux version to stdOut

print the Linux version to stdOut for subsequent checking by the server controller.
This commit is contained in:
lunardunno 2025-04-01 03:15:25 +04:00 committed by GitHub
parent d61e2bc8f6
commit 8156ac7757
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,4 +20,5 @@ if [ "$(systemctl is-active docker)" != "active" ]; then \
sleep 5; sudo systemctl start docker; sleep 5;\
fi;\
if ! command -v sudo > /dev/null 2>&1; then echo "Failed to install sudo, command not found"; exit 1; fi;\
docker --version
docker --version;\
uname -sr