Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # from http://askubuntu.com/questions/164/how-can-i-tell-from-the-command-line-whether-the-machine-requires-a-reboot
- if [ -f /var/run/reboot-required ]; then
- echo 'reboot required'
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement