diff --git a/scripts/install-moonraker.sh b/scripts/install-moonraker.sh index 4cb5e28..fd5d6fa 100755 --- a/scripts/install-moonraker.sh +++ b/scripts/install-moonraker.sh @@ -9,18 +9,6 @@ FORCE_DEFAULTS="n" CONFIG_PATH="${HOME}/moonraker.conf" LOG_PATH="/tmp/moonraker.log" -# Step 1: Verify Klipper has been installed -check_klipper() -{ - if [ "$(sudo systemctl list-units --full -all -t service --no-legend | grep -F "klipper.service")" ]; then - echo "Klipper service found!" - else - echo "Klipper service not found, please install Klipper first" - exit -1 - fi - -} - # Step 2: Clean up legacy installation cleanup_legacy() { if [ -f "/etc/init.d/moonraker" ]; then @@ -104,9 +92,7 @@ EOF start_software() { report_status "Launching Moonraker API Server..." - sudo systemctl stop klipper sudo systemctl restart moonraker - sudo systemctl start klipper } # Helper functions @@ -142,7 +128,6 @@ done # Run installation steps defined above verify_ready -check_klipper cleanup_legacy install_packages create_virtualenv