mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
Utilities: Check boot-path that is rather mandatory, thx @cattyhouse
This commit is contained in:
parent
7ee72354b3
commit
eb83b4a4ea
@ -25,7 +25,7 @@ abort() {
|
||||
|
||||
nvram=/usr/sbin/nvram
|
||||
# FIXME: find an nvram key that is mandatory
|
||||
if [ -z "$("${nvram}" -x 'efi-boot-device' | /usr/bin/grep 'xml')" ]; then
|
||||
if [ -z "$("${nvram}" -x '4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-path' | /usr/bin/grep 'xml')" ]; then
|
||||
nvram="$(pwd)/nvram.mojave"
|
||||
if [ ! -f "${nvram}" ]; then
|
||||
abort "${nvram} does NOT exist!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user