From f097244ddf1f54c357d596236895c9ccf867a47a Mon Sep 17 00:00:00 2001 From: PierreGode Date: Tue, 27 Mar 2018 11:24:10 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 14c3131..c2ff0f1 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -255,9 +255,9 @@ sudo echo "${RED_TEXT}"Installing pakages failed.. please check connection ,dpkg exit fi echo "hostname is $myhost" -sleep 1 +echo "Looking for Realms.. please wait" DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}') -ping -c 5 $DOMAIN >/dev/null +ping -c 2 $DOMAIN >/dev/null if [ $? = 0 ] then clear