This commit is contained in:
parent
9ab26cb997
commit
cee83f554f
@ -1,4 +1,4 @@
|
|||||||
pika-refind-theme (1.5-99pika1.lunar) lunar; urgency=medium
|
pika-refind-theme (1.5-99pika2.lunar) lunar; urgency=medium
|
||||||
|
|
||||||
* Fix invalid resolution
|
* Fix invalid resolution
|
||||||
|
|
||||||
|
@ -25,3 +25,26 @@ fi
|
|||||||
|
|
||||||
grep -qxF 'include refind-dark/refind-dark.conf' $EFI_PATH/EFI/refind/refind.conf || echo 'include refind-dark/refind-dark.conf' >> $EFI_PATH/EFI/refind/refind.conf
|
grep -qxF 'include refind-dark/refind-dark.conf' $EFI_PATH/EFI/refind/refind.conf || echo 'include refind-dark/refind-dark.conf' >> $EFI_PATH/EFI/refind/refind.conf
|
||||||
cp -R /usr/share/pika-refind/theme/* $EFI_PATH/EFI/refind
|
cp -R /usr/share/pika-refind/theme/* $EFI_PATH/EFI/refind
|
||||||
|
|
||||||
|
|
||||||
|
echo "changing up refind_linux.conf"
|
||||||
|
if /boot/refind_linux.conf | grep amd_pstate
|
||||||
|
then
|
||||||
|
ture
|
||||||
|
else
|
||||||
|
sed -i "s#root=#amd_pstate=active root=#" /boot/refind_linux.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if /boot/refind_linux.conf | grep nowatchdog
|
||||||
|
then
|
||||||
|
ture
|
||||||
|
else
|
||||||
|
sed -i "s#root=#nowatchdog root=#" /boot/refind_linux.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if /boot/refind_linux.conf | grep amd_prefcore
|
||||||
|
then
|
||||||
|
ture
|
||||||
|
else
|
||||||
|
sed -i "s#root=#amd_prefcore=enable root=#" /boot/refind_linux.conf
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user