distribution/packages/hardware/quirks/devices/Powkiddy x55/003-game-settings

16 lines
385 B
Bash

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done