#!/bin/bash kernel_version="6.7.6" zen_version="zen1" revision="1" sudo dnf install RPMS/x86_64/linux-zen-${kernel_version}-${revision}.fc39.x86_64.rpm sudo dracut /boot/initramfs-${kernel_version}-${zen_version}.fc39.x86_64.img ${kernel_version}-${zen_version}_${revision} KERNEL_VERSION="6.7.6-zen1" if [ "$1" != "" ]; then KERNEL_VERSION=$1 fi ROOT_UUID=$(findmnt -n -o UUID -T /) LOADER_ENTRY_PATH="/boot/loader/entries/dz.conf" cat > $LOADER_ENTRY_PATH <