Add checks for octoprint service when installing DWC2/Mainsail

This commit is contained in:
th33xitus
2020-07-15 22:02:42 +02:00
parent 182164af9c
commit 57d86b9ef4
3 changed files with 24 additions and 8 deletions

View File

@@ -4,6 +4,10 @@ mainsail_install_routine(){
dep=(wget curl unzip)
dep_check
#execute operation
#disable octoprint service if installed
if systemctl is-enabled octoprint.service -q; then
disable_octoprint_service
fi
disable_wrong_webserver
remove_wrong_webserver
install_moonraker