Auisce/CPUSpeed.sh

Limited to Debian and Fedora

Auisce opened this issue · 5 comments

Currently the script checks for cpufrequtils and if not found will download and install it.
It does this with apt, meaning the script is Debian only.
If cpufrequtils isn't installed the script should ideally check the package management system / distro use the correct install method for that operating system, or alternatively give a message indicating that it cannot install cpufrequtils and that the user should install it before running the script again.

Can you assign me?

I don't think macos will work cleanly but I do have a solution for fedora..

pushed a PR with support for another distro, if you want more support please tell me/ approve this PR and I will do another for a different distro

PR approved.
This is Linux specific; I don't think Darwin will play.
Anyhoo if you'd like to add other systems, and a break where the detected system is unsupported, feel free.
Thanks for the PR.

For now, didn't find a way to do this in darwin but glad the PR got approved