Update default.inc

This commit is contained in:
2024-02-10 15:24:30 -06:00
parent f14173c918
commit cf0372078c

View File

@@ -237,6 +237,7 @@ service_exists() {
}
CHECK_HOST(){
if [ ! -z ${1+x} ]; then
ping -c 3 ${1} > /dev/null 2>&1
[ $? -ne 0 ] && echo false || echo true