create_opendkim_key.sh: minor changes on script output.
This commit is contained in:
parent
47b60e6954
commit
e11c458543
@ -522,10 +522,16 @@ fi
|
||||
blank_line
|
||||
|
||||
|
||||
# - We use actual timestamp as DEKIM Selector
|
||||
# -
|
||||
time_stamp=$(date +%s)
|
||||
|
||||
|
||||
if $terminal ; then
|
||||
echo ""
|
||||
echo -e " \033[1m----------\033[m"
|
||||
echo " DKIM Domain......................: $dkim_domain"
|
||||
echo " DKIM Selector....................: $time_stamp"
|
||||
if $update_dns ; then
|
||||
echo -e " Create/Update DKIM TXT record....: \033[32mYes\033[m"
|
||||
echo " Domain used for DKIM TXT record..: $update_zone"
|
||||
@ -576,8 +582,6 @@ else
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
time_stamp=$(date +%s)
|
||||
key_dir=${key_base_dir}/${dkim_domain}
|
||||
dkim_domain_shortname="${dkim_domain%.*}"
|
||||
|
||||
@ -1112,7 +1116,7 @@ else
|
||||
fi
|
||||
|
||||
|
||||
echononl " Print out public key key for domain '$dkim_domain'.."
|
||||
echononl " Print out public key for domain '$dkim_domain'.."
|
||||
openssl rsa -in ${key_dir}/${time_stamp}.private -pubout -out ${key_dir}/${time_stamp}.public > $log_file 2>&1
|
||||
if [[ $? -eq 0 ]] ; then
|
||||
echo_ok
|
||||
|
Loading…
Reference in New Issue
Block a user