diff --git a/scripts/klipper-uninstall-arch.sh b/scripts/klipper-uninstall-arch.sh new file mode 100644 index 000000000000..b4550b6c3678 --- /dev/null +++ b/scripts/klipper-uninstall-arch.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# Uninstall script for Arch/systemd type installations + +# Stop Klipper Service +echo "#### Stopping Klipper Service.." +sudo systemctl stop klipper.service + +# Remove Klipper from Startup +echo +echo "#### Removing Klipper from Startup.." +sudo systemctl disable klipper.service + +# Remove Klipper from Services +echo +echo "#### Removing Klipper Service.." +sudo rm /etc/systemd/system/klipper.service + +# Notify user of method to remove Klipper source code +echo +echo "The Klipper system files have been removed." +echo +echo "The following command is typically used to remove local files:" +echo " rm -rf ~/klippy-env ~/klipper"