Quellcode durchsuchen

Update README.md

Francesco Palmarini vor 6 Jahren
Ursprung
Commit
666caf0511
1 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen
  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.