diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 225178d..1a843ce 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -770,7 +770,6 @@ nameserver ${value} # ╰───┴──────────────────────────────╯ spcd_f_ca() { - local index name value case "${1}" in "list") local grep="\(After\|Before\|Issuer\|Signature Algorithm\|Subject:\)" @@ -796,6 +795,7 @@ spcd_f_ca() { ;; *) ;; esac + local index name value while true; do index=$((index + 1)) name="SPCD_CA_${index}"