diff options
author | Rob Austein <sra@hactrn.net> | 2016-07-05 14:40:09 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-07-05 14:40:09 -0400 |
commit | 2334c43a39dcc7eba00811c36a9bc3362177a10b (patch) | |
tree | 7236a30528f6e2e5f2ba1d0ffc9269aa87495f6f /projects/hsm/cryptech_upload | |
parent | d7e7dbc990aca690c069060bd39a168ffbd28e64 (diff) |
Add horrible kludge of a script to probe USB ports and report which
ones look like console and RPC ports for the HSM.
Diffstat (limited to 'projects/hsm/cryptech_upload')
-rwxr-xr-x | projects/hsm/cryptech_upload | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/hsm/cryptech_upload b/projects/hsm/cryptech_upload index 722e37b..66fbe7d 100755 --- a/projects/hsm/cryptech_upload +++ b/projects/hsm/cryptech_upload @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2016, NORDUnet A/S All rights reserved. # @@ -27,9 +27,11 @@ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ Utility to upload new a firmware image or FPGA bitstream """ + import os import sys import time |