Update pika-refind-theme/debian/pika-refind-theme.postinst
This commit is contained in:
parent
28eb9217a1
commit
f64bf1872e
@ -31,26 +31,3 @@ 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