Last active
May 9, 2016 13:17
-
-
Save amchercashin/9c743de6a0521f142cf21a41044f029f to your computer and use it in GitHub Desktop.
Restarts Ubuntu and preselect specified option in GRUB list starting from 0 (2 is 3rd option)
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 | |
sudo grub-reboot 2 | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment