Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-09-07 12:59:53 +02:00 committed by GitHub
parent 212fbb4c6e
commit 4f50eee301

View File

@ -284,6 +284,7 @@ sudo echo "${RED_TEXT}"Installing pakages failed.. please check connection ,dpkg
exit exit
fi fi
sleep 1 sleep 1
gnome-terminal -e "bash -c \"!!; exec bash\"journalctl -fxe"
DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}') DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}')
ping -c 2 $DOMAIN ping -c 2 $DOMAIN
if [ $? = 0 ] if [ $? = 0 ]