This commit is contained in:
2019-02-07 14:05:08 -06:00
parent e5a0dbfe80
commit 89e6ea1fa8
2 changed files with 54 additions and 50 deletions

View File

@@ -113,3 +113,10 @@ CERT-CHECK(){
fi
}
CHECK_HOST(){
ping -c 3 ${1} > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo false
fi
}