#!/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