From c4d5e6af5ce7cf657907109a0e8cfcab72238469 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 23 Feb 2024 20:10:24 +0100 Subject: [PATCH] fix auto install --- TOOLS/auto_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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