Created
July 22, 2015 09:01
-
-
Save stef-k/6f7b72a97692876ed657 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# checks if a system reboot is required (usually after system updates-upgrades) | |
if [ -f /var/run/reboot-required ]; then | |
echo 'reboot required' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment