diff options
author | awy <awy@tutamail.com> | 2024-08-07 22:02:49 +0300 |
---|---|---|
committer | awy <awy@tutamail.com> | 2024-08-07 22:02:49 +0300 |
commit | eb4c8bc8be393427672f172d492d20a48493120d (patch) | |
tree | a2fb17bf69e132905ab2b7eeac4aa5fe7bf2d477 | |
parent | 22ab518e9d1b1ab3bdf5927049e98d5ba0a7988a (diff) |
small fixes
-rwxr-xr-x | post_chroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post_chroot.sh b/post_chroot.sh index c61e81d..e30239d 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -45,7 +45,7 @@ elif [ "$_kernelflag" -eq 2 ]; then make headers_install mkdir -p /boot/EFI/BOOT cp arch/x86/boot/bzImage /boot/EFI/BOOT/BOOTX64.EFI - _diskdrivewop="${diskdrive%p}" + _diskdrivewop="${disk_drive%p}" efibootmgr -c -d /dev/$_diskdrivewop -p $_numBoot -L "linux" -l '\EFI\BOOT\BOOTX64.EFI' else printf ${LIGHTRED}"Wrong kernelflag value.${NoColor}\n" |