aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/cryptech_upload
diff options
context:
space:
mode:
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',
)