Removing old scripts, renaming and cleaning up
This commit is contained in:
11
WindowsBoot
11
WindowsBoot
@@ -1,4 +1,11 @@
|
||||
#!/bin/bash
|
||||
source $GIT_SCRIPTS/Okiru
|
||||
WindowsEntry=$(efibootmgr | grep "Windows Boot Manager" | awk '{print $1}' | sed -e 's/Boot//g')
|
||||
efibootmgr -n $WindowsEntry
|
||||
reboot
|
||||
if [[ -n $WindowsEntry ]]; then
|
||||
debug "Found Windows entry: $WindowsEntry"
|
||||
ok "Found Windows! Rebooting"
|
||||
efibootmgr -n $WindowsEntry
|
||||
reboot
|
||||
else
|
||||
error "Found no Windows entry. SAD!"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user