Files
scripts/WindowsBoot
2020-09-05 17:02:29 +03:00

5 lines
145 B
Bash
Executable File

#!/bin/bash
WindowsEntry=$(efibootmgr | grep "Windows Boot Manager" | awk '{print $1}' | sed -e 's/Boot//g')
efibootmgr -n $WindowsEntry
reboot