Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -92,7 +92,6 @@ CHECK(){
|
||||
start=`date +%s`
|
||||
|
||||
C_CW=40
|
||||
shopt -s nullglob
|
||||
|
||||
declare -A host_ip
|
||||
declare -A host_name
|
||||
@@ -138,6 +137,7 @@ CHECK(){
|
||||
done
|
||||
[ "${1}" != "report" ] && echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}\n"
|
||||
|
||||
shopt -s nullglob
|
||||
nc_count=0; completed=false; scanstart=$(date +%s)
|
||||
until [ "${completed}" == "true" ]; do
|
||||
until [ $(ls /tmp/dscheck.*.done 2>/dev/null | wc -l) -gt 0 ]; do tmp=tmp; done
|
||||
|
||||
Reference in New Issue
Block a user