distribution/packages/hardware/quirks/platforms/AMD64/010-default_tdp
2023-10-23 22:53:27 +00:00

13 lines
333 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
. /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