Skip to content

Commit

Permalink
init_run : Implement better way to remove duplicates on CPU name
Browse files Browse the repository at this point in the history
Signed-off-by: Rem01Gaming <Rem01_Gaming@proton.me>
  • Loading branch information
Rem01Gaming committed Oct 10, 2024
1 parent a418b2b commit bfed720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/init_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if [[ $soc == unknown ]] && [ -f /sys/devices/soc0/machine ] && [ ! -d /sys/kern
soc=Qualcomm
fi

chipset="$(echo $chipset | awk '{print $1}')"
chipset="$(echo $chipset | tr ' ' '\n' | sort -u | tr '\n' ' ')"

cores=$(($(nproc --all) - 1))

Expand Down

0 comments on commit bfed720

Please sign in to comment.