From 761070271c471219e27bc3134cba757d21204297 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 18 Feb 2015 14:17:46 -0500 Subject: [PATCH] Added config cli override to all main scripts --- bin/ca-create-cert | 2 +- bin/ca-renew-cert | 2 +- bin/ca-revoke-cert | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ca-create-cert b/bin/ca-create-cert index ac7f1de..6bcef22 100755 --- a/bin/ca-create-cert +++ b/bin/ca-create-cert @@ -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;; diff --git a/bin/ca-renew-cert b/bin/ca-renew-cert index 7eaeeab..f4a00fa 100755 --- a/bin/ca-renew-cert +++ b/bin/ca-renew-cert @@ -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;; diff --git a/bin/ca-revoke-cert b/bin/ca-revoke-cert index 102366a..59b372f 100755 --- a/bin/ca-revoke-cert +++ b/bin/ca-revoke-cert @@ -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;;