Pārlūkot izejas kodu

Update README.md

Francesco Palmarini 6 gadi atpakaļ
vecāks
revīzija
666caf0511
1 mainītis faili ar 14 papildinājumiem un 0 dzēšanām
  1. 14 0
      README.md

+ 14 - 0
README.md

@@ -80,6 +80,20 @@ git clone https://github.com/erpalma/lenovo-throttling-fix.git
 sudo ./install.sh
 ```
 
+### Uninstall
+To permanently stop and disable the execution just issue:
+```
+systemctl stop lenovo_fix.service 
+systemctl disable lenovo_fix.service
+```
+If you also need to remove the script from the system:
+```
+rm -rf /opt/lenovo_fix /etc/systemd/system/lenovo_fix.service
+# to purge also the config file
+rm /etc/lenovo_fix.conf 
+```
+On Arch you should probably use `pacman -R lenovo-throttling-fix-git` instead.
+
 ## Configuration
 The configuration has moved to `/etc/lenovo_fix.conf`. Makefile does not overwrite your previous config file, so you need to manually check for differences in config file structure when updating the tool. If you want to overwrite the config with new defaults just issue `sudo cp etc/lenovo_fix.conf /etc`. There exist two profiles `AC` and `BATTERY` and the script can be totally disabled by setting `Enabled: False` in the `GENERAL` section. Undervolt is applied if any voltage plane in the config file (section UNDERVOLT) was set. Notice that the offset is in *mV* and only undervolting (*i.e.* negative values) is supported.
 All fields accept floating point values as well as integers.