get_sites_with_external_nameservers.sh: some minor changes at script output.

This commit is contained in:
Christoph 2021-02-14 12:37:44 +01:00
parent 903530ce50
commit c6093b3cdb

View File

@ -450,8 +450,8 @@ fi
if $terminal ; then
echo ""
echo ""
echo -e "\033[4G\033[33m\033[1mApache2 Info:\033[m"
echo -e "\033[4G\033[33m\033[1m=============\033[m"
echo -e "\033[4G\033[33mApache2 Info:\033[m"
echo -e "\033[4G\033[33m=============\033[m"
echo ""
@ -518,6 +518,8 @@ if $terminal ; then
echo -e "\033[4GList of omitted site names.......: \033[33m-- Not given --\033[m"
fi
echo ""
else
echo ""
@ -588,8 +590,7 @@ else
else
echo " List of omitted site names.......: \033[33m-- Not given --\033[m"
fi
echo ""
fi
if [[ -z "${APACHE_VHOST_DIR}" ]] ; then
@ -612,6 +613,20 @@ if [[ ${#internal_ns_server_arr[@]} -lt 1 ]] ; then
clean_up 1
fi
if $terminal ; then
echo ""
echo -e "\033[4G\033[1m----------\033[m"
echo -e "\033[4G\033[32mRunning main part of script\033[m - \033[5m\033[1mThis may take a while\033[m"
echo -e "\033[4G\033[1m----------\033[m"
echo ""
else
echo ""
echo "----------"
echo "Running main part of script '$script_name'.."
echo "----------"
echo ""
fi
# Get list of vhost configurations
#
@ -746,7 +761,7 @@ if [[ ${#sites_external_ns_servers[@]} -gt 0 ]] ; then
echo ""
echo ""
echo -e "\033[4G\033[1m----------\033[m"
echo -e "\033[4GSites with external authoritative nameservers"
echo -e "\033[4G\033[1mSites with external authoritative nameservers\033[m"
echo -e "\033[4G\033[1m----------\033[m"
else
echo ""