Here is the script: checkup.bash

To run this check, do it like this:

curl -s https://www.brockmann-consult.de/peter2/securitylesson/checkup.bash | bash