distribution/projects/Rockchip/packages/system-utils/sources/autostart/common/002-overclock
fewtarius 3cc8ce60f8
* Split autostart scripts into their native packages (more work to do here).
* Update the readme to fix a controls oops.
2022-03-05 21:04:10 -05:00

17 lines
358 B
Bash

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
OVERCLOCK=$(get_setting system.overclock)
if [ -z ${OVERCLOCK} ]
then
set_setting system.overclock off
fi
/usr/bin/overclock ${OVERCLOCK}
if [ -d "/storage/.config/system/configs" ]
then
EXCLUDE="--exclude=configs"
fi