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:

Run it via

curl -sf -L | 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:


Stop liking, start testing! :innocent: