Skip to content

Commit

Permalink
fix: add disable command
Browse files Browse the repository at this point in the history
  • Loading branch information
dw-0 committed Jan 7, 2021
1 parent 8ee277f commit 43a724b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ remove_klipper(){
status_msg "Removing Klipper Service ..."
sudo rm -rf /etc/init.d/klipper /etc/default/klipper
sudo update-rc.d -f klipper remove
sudo systemctl disable klipper
sudo systemctl daemon-reload
ok_msg "Klipper Service removed!"
fi
if [ -e /etc/systemd/system/klipper.service ]; then
status_msg "Removing Klipper Service ..."
sudo rm -rf /etc/systemd/system/klipper.service
sudo update-rc.d -f klipper remove
sudo systemctl disable klipper
sudo systemctl daemon-reload
ok_msg "Klipper Service removed!"
fi
Expand Down

0 comments on commit 43a724b

Please sign in to comment.