diff --git a/TOOLS/auto_install.py b/TOOLS/auto_install.py index 19d3dcb..d7cd4bd 100755 --- a/TOOLS/auto_install.py +++ b/TOOLS/auto_install.py @@ -85,7 +85,7 @@ if __name__ == "__main__": # If current_boot_partition is bootA, run swupdate with bootB. example: now_A_next_B boot_partition = "now_A_next_B" if current_boot_partition == "bootA" else "now_B_next_A" - ssh.exec_command(f'swupdate_cmd.sh -i /mnt/UDISK/update.swu -e stable,{boot_partition} -k /etc/swupdate_public.pem &') + ssh.exec_command(f'swupdate_cmd.sh -i /mnt/UDISK/update.swu -e stable,{boot_partition} -k /etc/swupdate_public.pem') print("Update started... Please wait for the printer to reboot") # wait for the update to complete, the printer to reboot and then close the connection # Count down from 60 seconds