Script: Disable unwanted services

Some Linux distributions install services that can interfere with Klipper’s ability to access the printer board. So far known are

  • ModemManager
  • BRLtty

In order to facilitate checking for such services and disabling them, I have written a little shell script: https://github.com/Sineos/useful_bits/blob/main/Linux/disable_unwanted_services.sh

Run it via

curl -sf -L https://raw.githubusercontent.com/Sineos/useful_bits/main/Linux/disable_unwanted_services.sh | sudo bash

Above command will run the script as root
Only do this if you trust me or if you have verified the script beforehand.

Any tests would be appreciated. I did test it, but additional tests would be highly appreciated

Edit: Screenshot from testing it how the output looks like:

5 Likes

Stop liking, start testing! :innocent: