From 0bc685694138bf74eb90dbba4f85edf05d1aa74c Mon Sep 17 00:00:00 2001 From: celso Date: Tue, 22 Nov 2022 21:55:50 -0300 Subject: [PATCH] fixed typos and added openrc service logs location to the README --- README.md | 4 +++- conf.d/homemade_speedstep | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e67ad66..853f964 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ You must provide the temperature at which you wish to step down the maximum freq --- **Recomendation**: add a service to your init script that runs this program at startup in the background so you don't need to keep a terminal emulator open running it. +If used in this way, The program's error output will be found at `/var/log/homemade_speedstep.err` + Using OpenRC this would be done by adding the following in a `/etc/init.d/homemade_speedstep` file: ``` #!/sbin/openrc-run @@ -83,7 +85,7 @@ stop_pre() { ``` and the following in a `/etc/conf.d/homemade_speedstep` file: ``` -# /etc/conf.d/homemade_speedstep: config gile for /etc/init.d/homemade_speedstep +# /etc/conf.d/homemade_speedstep: config file for /etc/init.d/homemade_speedstep # Change these to your liking # Upper temperature threshold HSMAXTEMP=82000 diff --git a/conf.d/homemade_speedstep b/conf.d/homemade_speedstep index f11c394..13c117d 100644 --- a/conf.d/homemade_speedstep +++ b/conf.d/homemade_speedstep @@ -1,4 +1,4 @@ -# /etc/conf.d/homemade_speedstep: config gile for /etc/init.d/homemade_speedstep +# /etc/conf.d/homemade_speedstep: config file for /etc/init.d/homemade_speedstep # Change these to your liking # Upper temperature threshold