mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-28 09:27:44 +00:00
cpu: update governor override path
This commit is contained in:
parent
df5ae64c44
commit
7d28d12c1c
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ pub fn get_platform_profiles() -> Result<Vec<String>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Path for storing the governor override state
|
/// Path for storing the governor override state
|
||||||
const GOVERNOR_OVERRIDE_PATH: &str = "/etc/superfreq/governor_override";
|
const GOVERNOR_OVERRIDE_PATH: &str = "/etc/xdg/superfreq/governor_override";
|
||||||
|
|
||||||
/// Force a specific CPU governor or reset to automatic mode
|
/// Force a specific CPU governor or reset to automatic mode
|
||||||
pub fn force_governor(mode: GovernorOverrideMode) -> Result<()> {
|
pub fn force_governor(mode: GovernorOverrideMode) -> Result<()> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue