check_rebootrequired

check_rebootrequired.sh

A check script for icinga2 to check for the existance of

/var/run/reboot-required.pkgs

If this file exists, a reboot of the machine is required. See https://askubuntu.com/questions/28530/how-can-i-tell-what-package-requires-a-reboot-of-my-system/28537#28537.