Added config cli override to all main scripts

This commit is contained in:
Eric Renfro 2015-02-18 14:17:46 -05:00
parent 15cba346cf
commit 761070271c
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ while :; do
case "$1" in
-h|--help) usage; exit 0;;
-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;;
-d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;;
-b|--bits) shift; USER_CA_CRT_BITS="$1"; shift;;

View File

@ -24,7 +24,7 @@ eval set -- "$opts";
while :; do
case "$1" in
-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;;
-d|--days) shift; USER_CA_CRT_DAYS="$1"; shift;;
--) shift; break;;

View File

@ -26,7 +26,7 @@ eval set -- "$opts";
while :; do
case "$1" in
-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;;
-l|--crl-days) shift; USER_CA_CRL_DAYS="$1"; shift;;
-i|--template) shift; INDEXTPL="$1"; shift;;