Create an uninstaller

This commit is contained in:
alfrix 2022-01-26 08:07:36 -03:00
parent 86cdcfafe4
commit 21b0466f95

12
scripts/Uninstall.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
echo "Uninstalling KlipperScreen"
echo ""
echo "* Stopping service"
sudo service KlipperScreen stop
echo "* Removing unit file"
sudo rm /etc/systemd/system/KlipperScreen.service
echo "* Removing enviroment"
sudo rm -rf ~/.KlipperScreen-env
echo "!! Please remove $(dirname `pwd`) manually"
echo "Done"