Commit 4b6e4c58 authored by Vojtech Myslivec's avatar Vojtech Myslivec 🚀

Move usage below other constants

parent 7064dc05
......@@ -7,6 +7,19 @@ umask 0077
VERSION='0.2'
SCRIPTNAME=${0##*/}
# hash used for cache indexing and integrity checks
HASH_TYPE='sha256'
CRYPTO_WRAPPER_ROOT_PREFIX='/tmp/crypto_wrapper'
SYSINFO_MODEL_FILE='/tmp/sysinfo/model'
TYPE_ATSHA='atsha'
TYPE_OTP='otp'
# length of a hash for given type (number of hexadecimal characters)
HASH_LENGTH_ATSHA='64'
HASH_LENGTH_OTP='128'
USAGE="USAGE
General syntax:
$SCRIPTNAME command [args..]
......@@ -48,19 +61,6 @@ USAGE="USAGE
Remove all command cache
"
# hash used for cache indexing and integrity checks
HASH_TYPE='sha256'
CRYPTO_WRAPPER_ROOT_PREFIX='/tmp/crypto_wrapper'
SYSINFO_MODEL_FILE='/tmp/sysinfo/model'
TYPE_ATSHA='atsha'
TYPE_OTP='otp'
# length of a hash for given type (number of hexadecimal characters)
HASH_LENGTH_ATSHA='64'
HASH_LENGTH_OTP='128'
# --------------------------------------------------------------------
stderr_mesage() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment