summarylogtreecommitdiffstats
path: root/boot-to-windows.sh
blob: 00cd1064923d23326b3b0aacdcd28d9355d096da (plain)
1
2
3
#!/usr/bin/sudo bash
windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
sudo grub-reboot "$windows_title" && sudo reboot