aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/cryptech_upload
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-07-07 21:11:47 -0400
committerRob Austein <sra@hactrn.net>2016-07-07 21:11:47 -0400
commit41b72119bc23b942af5d7d1b7a7a704f2ab8aa5b (patch)
tree0fa48c030b01466ae7bf7d2c3d2a5e7664dc5000 /projects/hsm/cryptech_upload
parent40e903c8e0a925df1c67eec6fbd1be6ffccd0f09 (diff)
Add cryptech_miniterm; tweak cryptech_probe to write environment variables like ssh-agent.
Diffstat (limited to 'projects/hsm/cryptech_upload')
-rwxr-xr-xprojects/hsm/cryptech_upload2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/hsm/cryptech_upload b/projects/hsm/cryptech_upload
index 8bb6ebb..7590b38 100755
--- a/projects/hsm/cryptech_upload
+++ b/projects/hsm/cryptech_upload
@@ -57,7 +57,7 @@ def parse_args():
parser.add_argument('-d', '--device',
dest='device',
- default='/dev/ttyUSB0',
+ default=os.getenv('CRYPTECH_CTY_CLIENT_SERIAL_DEVICE', '/dev/ttyUSB0'),
help='Name of management port USB serial device',
)