boot: add intel pstate fix for acpi

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-06-26 19:41:09 +02:00
parent f4ee86857a
commit 1aedb8eaae
2 changed files with 2 additions and 1 deletions

View File

@@ -1963,7 +1963,7 @@ function rebootMenu() {
dialog --backtitle "$(backtitle)" --title "Reboot" \
--infobox "Reboot to ${REDEST}!" 0 0
if [ "${REDEST}" == "bios" ]; then
efibootmgr -n 0000
efibootmgr -n 0000 >/dev/null 2>&1
reboot
exit 0
elif [ "${REDEST}" == "poweroff" ]; then

View File

@@ -134,6 +134,7 @@ CMDLINE['loglevel']="15"
CMDLINE['log_buf_len']="32M"
CMDLINE["HddHotplug"]="1"
CMDLINE["vender_format_version"]="2"
[ $(cat /proc/cpuinfo | grep Intel | wc -l) -gt 0 ] && CMDLINE["intel_pstate"]="disable"
#if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ] && [ "${BUS}" != "mmc" ] && [ "${EMMCBOOT}" != "true" ]; then
# [ "${CMDLINE['modprobe.blacklist']}" != "" ] && CMDLINE['modprobe.blacklist']+=","