Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-09-28 09:06:52 +02:00 committed by GitHub
parent ce1d2585ff
commit 03d56a0b29

View File

@ -56,6 +56,7 @@ clear
sudo echo "${RED_TEXT}"Installing pakages failed.. please check connection ,dpkg and apt-get update then try again."${INTRO_TEXT}"
exit
fi
echo "hostname is $myhost"
sleep 1
DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}')
ping -c 2 $DOMAIN