fix auto install
This commit is contained in:
parent
e1f43041cd
commit
c4d5e6af5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue