2023-09-04 14:54:35 +00:00
|
|
|
#!/bin/sh
|
2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-09-04 14:54:35 +00:00
|
|
|
# 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
|