distribution/packages/sysutils/system-utils/sources/autostart/AMD64/002-overclock

17 lines
361 B
Text
Raw Normal View History

2022-09-04 16:57:55 +00:00
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
tocon "Configuring system TDP..."
2022-09-04 16:57:55 +00:00
# If there is no defined overclock, make sure it's "off".
OVERCLOCK=$(get_setting system.overclock)
if [ -z ${OVERCLOCK} ]
then
set_setting system.overclock off
fi
/usr/bin/overclock boot