mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Setup UEFI during setup
This commit is contained in:
parent
656ec4d75d
commit
6fa7bac182
|
@ -1020,6 +1020,12 @@ if [ $IS_ROCK64 = 1 ] || [ $IS_ROCKPRO64 = 1 ] ; then
|
|||
nmcli connection modify $UUID -ethernet.mac-address ""
|
||||
fi
|
||||
|
||||
# Add generic boot option if UEFI
|
||||
if [ -f /boot/efi/EFI/debian/grubx64.efi ]; then
|
||||
mkdir -p /boot/efi/EFI/BOOT
|
||||
cp -f /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
|
||||
fi
|
||||
|
||||
sync
|
||||
|
||||
set +x
|
||||
|
|
Loading…
Reference in New Issue
Block a user