Last active
June 24, 2020 01:27
-
-
Save ITJesse/380489a742c92261a1e02935dafec240 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/sh | |
KERNEL_VERSION="3.13.0-29" | |
sudo apt-get update | |
sudo aptitude install -y linux-image-${KERNEL_VERSION}-generic \ | |
linux-headers-${KERNEL_VERSION} linux-image-extra-${KERNEL_VERSION}-generic | |
sudo sed -i "s/GRUB_DEFAULT=.*/GRUB_DEFAULT=\"Advanced options for Ubuntu>Ubuntu, with Linux ${KERNEL_VERSION}-generic\"/" /etc/default/grub | |
sudo update-grub | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment