Update ADconnection.sh

This commit is contained in:
PierreGoude 2018-03-21 11:39:32 +01:00 committed by GitHub
parent 80d3e7ff28
commit 6e4e2365ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ fi
echo "hostname is $myhost"
sleep 1
DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}')
ping -c 2 $DOMAIN >/dev/null
ping -c 5 $DOMAIN >/dev/null
if [ $? = 0 ]
then
clear