Added config cli override to all main scripts
This commit is contained in:
parent
15cba346cf
commit
761070271c
3 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ while :; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help) usage; exit 0;;
|
-h|--help) usage; exit 0;;
|
||||||
-c|--encrypt) CRYPTKEY=""; shift;;
|
-c|--encrypt) CRYPTKEY=""; shift;;
|
||||||
-f|--config) shift; CONFFILE="$1"; shift;;
|
-f|--config) shift; CONFFILE="$1"; CONFFILECLI=1; shift;;
|
||||||
-t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;;
|
-t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;;
|
||||||
-d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;;
|
-d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;;
|
||||||
-b|--bits) shift; USER_CA_CRT_BITS="$1"; shift;;
|
-b|--bits) shift; USER_CA_CRT_BITS="$1"; shift;;
|
||||||
|
|
|
@ -24,7 +24,7 @@ eval set -- "$opts";
|
||||||
while :; do
|
while :; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help) usage; exit 0;;
|
-h|--help) usage; exit 0;;
|
||||||
-f|--config) shift; CONFFILE="$1"; shift;;
|
-f|--config) shift; CONFFILE="$1"; CONFFILECLI=1; shift;;
|
||||||
-t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;;
|
-t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;;
|
||||||
-d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;;
|
-d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;;
|
||||||
--) shift; break;;
|
--) shift; break;;
|
||||||
|
|
|
@ -26,7 +26,7 @@ eval set -- "$opts";
|
||||||
while :; do
|
while :; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help) usage; exit 0;;
|
-h|--help) usage; exit 0;;
|
||||||
-f|--config) shift; CONFFILE="$1"; shift;;
|
-f|--config) shift; CONFFILE="$1"; CONFFILECLI=1; shift;;
|
||||||
-t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;;
|
-t|--type) shift; USER_CA_CRT_TYPE="$1"; shift;;
|
||||||
-l|--crl-days) shift; USER_CA_CRL_DAYS="$1"; shift;;
|
-l|--crl-days) shift; USER_CA_CRL_DAYS="$1"; shift;;
|
||||||
-i|--template) shift; INDEXTPL="$1"; shift;;
|
-i|--template) shift; INDEXTPL="$1"; shift;;
|
||||||
|
|
Loading…
Reference in a new issue