LK="." [ -L boot/kernel-54 ] && LK="$(readlink boot/kernel-54)" if [ "$(dirname $LK)" != "." ]; then echo "This is an efi installation" ln -sf $LK boot/kernel-54 if [ -f boot/$LK ]; then mv boot/kernel-5.4.79-NuTyX-54 boot/$LK 2>/dev/null ln -sf $LK boot/kernel-5.4.79-NuTyX-54 else echo "EFI Partition not found, mount EFI Partition and re-install the kernel" fi else echo "This is a bios installation" if [ -L boot/initrd-54 ]; then mkinitramfs 5.4.79-NuTyX-54 ln -sf initrd-5.4.79-NuTyX-54 boot/initrd-54 fi ln -sf kernel-5.4.79-NuTyX-54 boot/kernel-54 fi