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
|
||||
echo "Bootx64 Refind Path Detected"
|
||||
install_refind_theme "EFI/BOOT"
|
||||
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
|
||||
fi
|
Loading…
Reference in New Issue
Block a user