Update pika-refind-theme/debian/pika-refind-theme.postinst

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-11-29 16:40:41 +01:00
parent 28eb9217a1
commit f64bf1872e

View File

@ -30,27 +30,4 @@ if [[ $DO_BOOTX64_REFIND_PATH == true ]]
then then
echo "Bootx64 Refind Path Detected" echo "Bootx64 Refind Path Detected"
install_refind_theme "EFI/BOOT" install_refind_theme "EFI/BOOT"
fi fi
echo "changing up refind_linux.conf"
if cat /boot/refind_linux.conf | grep amd_pstate
then
true
else
sed -i "s#root=#amd_pstate=active root=#" /boot/refind_linux.conf
fi
if cat /boot/refind_linux.conf | grep nowatchdog
then
true
else
sed -i "s#root=#nowatchdog root=#" /boot/refind_linux.conf
fi
if cat /boot/refind_linux.conf | grep amd_prefcore
then
true
else
sed -i "s#root=#amd_prefcore=enable root=#" /boot/refind_linux.conf
fi