distribution/packages/hardware/quirks/platforms/AMD64/010-default_tdp
fewtarius deafe59438
* Fixes EmulationStation saving incorrect value for brightness.
* Corrects Loki audio latency quirk.
* Fixes system startup bug (threads/gpu profile).
* Fixes AMD64 default tdp quirk.
2023-09-19 10:57:33 +00:00

13 lines
287 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022-present Fewtarius
. /etc/profile.d/001-functions
### Set the default TDP if it isn't defined.
MYTDP=$(get_setting system.overclock)
if [ -z "${MYTDP}" ]
then
# Set default TDP
set_setting system.overclock 15w
fi