LK="." [ -L boot/kernel-lts ] && LK="$(readlink boot/kernel-lts)" if [ "$(dirname $LK)" != "." ]; then echo "This is an efi installation" ln -sf $LK boot/kernel-lts if [ -f boot/$LK ]; then mv boot/kernel-4.9.222-NuTyX-lts boot/$LK 2>/dev/null ln -sf $LK boot/kernel-4.9.222-NuTyX-lts 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-lts ]; then mkinitramfs 4.9.222-NuTyX-lts ln -sf initrd-4.9.222-NuTyX-lts boot/initrd-lts fi ln -sf kernel-4.9.222-NuTyX-lts boot/kernel-lts fi echo " ****************************************************************** * This kernel-lts version is obsolet, it wont be upgrade anymore.* * You should replace this kernel-lts version as soon as possible.* * See https://www.nutyx.org/en/upgrade-kernel-lts * * or * * https://www.nutyx.org/fr/upgrade-kernel-lts * ****************************************************************** "