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:04:55 +04:00 committed by GitHub
parent 805bc5fb61
commit 9e1298550f
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