Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save suz-lab/9f720ce2b49a77fc8a46 to your computer and use it in GitHub Desktop.
Save suz-lab/9f720ce2b49a77fc8a46 to your computer and use it in GitHub Desktop.
#!/bin/sh
yum -y update
grubby --default-kernel | grep `uname -r` || reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment