fixed typos and added openrc service logs location to the README

This commit is contained in:
celso 2022-11-22 21:55:50 -03:00
parent b4b4ccbcd5
commit 0bc6856941
2 changed files with 4 additions and 2 deletions

View File

@ -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. **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: Using OpenRC this would be done by adding the following in a `/etc/init.d/homemade_speedstep` file:
``` ```
#!/sbin/openrc-run #!/sbin/openrc-run
@ -83,7 +85,7 @@ stop_pre() {
``` ```
and the following in a `/etc/conf.d/homemade_speedstep` file: 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 # Change these to your liking
# Upper temperature threshold # Upper temperature threshold
HSMAXTEMP=82000 HSMAXTEMP=82000

View File

@ -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 # Change these to your liking
# Upper temperature threshold # Upper temperature threshold