diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-15 11:05:53 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-15 11:05:53 +0200 |
commit | b2325632bd7241d5d0a5ce5ed353d9f704fb9161 (patch) | |
tree | 43c8e81d86a0d9e8f36ffa9c4b4e1e93ba3bf180 | |
parent | f7bf137e51e94343661427d4828b1d8d9a879d6b (diff) |
Strip now optional DNS: prefix from prompt.
-rwxr-xr-x | localcsr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ echo "Enter a blank line to finish" SAN=1 # bogus value to begin the loop SANAMES="" # sanitize while [ ! "$SAN" = "" ]; do - printf "SubjectAltName: DNS:" + printf "SubjectAltName: " read SAN if [ "$SAN" = "" ]; then break; fi # end of input SAN=$(echo "$SAN" | perl -pe 's/^\s*([^:]+)$/DNS:$1/') #' |