distribution/packages/hardware/quirks/platforms/AMD64/010-default_tdp

14 lines
284 B
Text
Raw Normal View History

#!/bin/sh
# SPDX-License-Identifier: GPL-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