bff71cd5e2
* Add support for a variant of JELOS suitable for hosting containers. * Fix desktop mode terminal bug.
16 lines
361 B
Bash
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
|