Update dsmon.sh
This commit is contained in:
4
dsmon.sh
4
dsmon.sh
@@ -154,8 +154,8 @@ CHECK(){
|
|||||||
((started_hosts++))
|
((started_hosts++))
|
||||||
printf "\r${idsCL[LightCyan]}${MSG}${spc}: Started on %d of %d hosts ..." "${started_hosts}" "${#hostnames_sort[@]}"
|
printf "\r${idsCL[LightCyan]}${MSG}${spc}: Started on %d of %d hosts ..." "${started_hosts}" "${#hostnames_sort[@]}"
|
||||||
done
|
done
|
||||||
[ "${1}" != "report" ] && echo -e "\r${idsCL[LightCyan]}${MSG}${spc}: Done${idsCL[Default]}"
|
[ "${1}" != "report" ] && echo -e "\033[2K${idsCL[LightCyan]}${MSG}${spc}: ${idsCL[LightGreen]}Done${idsCL[Default]}"
|
||||||
sleep 2
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
nc_count=0; completed=false; scanstart=$(date +%s)
|
nc_count=0; completed=false; scanstart=$(date +%s)
|
||||||
until [ "${completed}" == "true" ]; do
|
until [ "${completed}" == "true" ]; do
|
||||||
|
|||||||
Reference in New Issue
Block a user