distribution/packages/sysutils/system-utils/sources/autostart/AMD64/002-overclock
fewtarius bff71cd5e2
* Add additional feedback to the boot process so it's visible to the user.
* Add support for a variant of JELOS suitable for hosting containers.
* Fix desktop mode terminal bug.
2023-04-22 20:01:07 +00:00

16 lines
361 B
Bash

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
tocon "Configuring system TDP..."
# 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