tree: update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-23 13:23:57 +02:00
parent 108e702515
commit 8354d3b228
4 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ governor=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
# Deamonize the main function...
while true; do
if [ -f /usr/sbin/stopscale ]; then
exit 0
exit 0
fi
# Set correct cpufreq governor to allow user defined frequency scaling
if [ "${1}" = "ondemand" ] || [ "${1}" = "conservative" ]; then

View File

@ -99,7 +99,7 @@ function main {
# Deamonize the main function...
while true; do
if [ -f /usr/sbin/stopscale ]; then
exit 0
exit 0
fi
# Get cpu cores count minus 1, to allow maping from 0
cpucorecount=$(cat /proc/cpuinfo | grep processor | wc -l)

View File

@ -14,6 +14,7 @@ if [ "${1}" = "late" ]; then
cp -vf /usr/sbin/scaler.sh /tmpRoot/usr/sbin/scaler.sh
cp -vf /usr/sbin/unscaler.sh /tmpRoot/usr/sbin/unscaler.sh
cp -vf /usr/sbin/rescaler.sh /tmpRoot/usr/sbin/rescaler.sh
cp -vf /usr/bin/echo /tmpRoot/usr/bin/echo
if [ "${2}" = "userspace" ]; then
mkdir -p "/tmpRoot/usr/lib/systemd/system"

BIN
misc/all/usr/bin/echo Executable file

Binary file not shown.