12 lines
267 B
Plaintext
12 lines
267 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
ls /sys/firmware/efi/efivars 2>/tmp/arch-maride-flavour_checks_uefi_error.log 1>/tmp/arch-maride-flavour_checks_uefi_out.log
|
||
|
return=$?
|
||
|
|
||
|
if [ "$return" -eq 0 ]; then
|
||
|
exit 0
|
||
|
else
|
||
|
echo "~> This doesn't seem to be an UEFI boot. Please boot UEFI."
|
||
|
exit 1
|
||
|
fi
|