This commit is contained in:
th33xitus
2020-07-22 13:27:41 +02:00
parent e6b6dbfa74
commit 3091ce55ad

View File

@@ -1,4 +1,5 @@
mainsail_install_routine(){
ERROR="0" #reset error state
if [ -d $KLIPPER_DIR ]; then
#check for dependencies
dep=(wget curl unzip)
@@ -9,7 +10,7 @@ mainsail_install_routine(){
disable_haproxy_lighttpd
remove_haproxy_lighttpd
install_moonraker
if [ "$ERROR" != 1 ]; then
if [ "$ERROR" != "1" ]; then
check_printer_cfg
restart_moonraker
restart_klipper