aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-12-20 19:06:20 -0500
committerPaul Selkirk <paul@psgd.org>2016-12-20 19:06:20 -0500
commitfa731c8e3730596c618367014ce6d30d6e4c265a (patch)
treeb010d3deecbc8b26a7b6001972ed70a36f1a767c
parentbebc5595be1679bfcecc70a2be975c461c75524a (diff)
The bootloader upgrade reboots now, so we don't need to log out of the CLI.
-rwxr-xr-xprojects/hsm/cryptech_upload4
1 files changed, 1 insertions, 3 deletions
diff --git a/projects/hsm/cryptech_upload b/projects/hsm/cryptech_upload
index 0c3f6fc..f5fefaa 100755
--- a/projects/hsm/cryptech_upload
+++ b/projects/hsm/cryptech_upload
@@ -212,10 +212,8 @@ def send_file(src, size, args, dst):
if args.fpga:
# tell the fpga to read its new configuration
_execute(dst, "fpga reset")
-
- if args.fpga or args.bootloader:
# log out of the CLI
- # firmware upgrade reboots, doesn't need an exit
+ # (firmware/bootloader upgrades reboot, don't need an exit)
_execute(dst, "exit")
return True