Create an uninstaller
This commit is contained in:
parent
86cdcfafe4
commit
21b0466f95
12
scripts/Uninstall.sh
Normal file
12
scripts/Uninstall.sh
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user