mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
tree: update
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
108e702515
commit
8354d3b228
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
BIN
misc/all/usr/bin/echo
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user