Update pika-refind-theme/debian/pika-refind-theme.postinst
This commit is contained in:
parent
28eb9217a1
commit
f64bf1872e
@ -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
|
|
Loading…
Reference in New Issue
Block a user