mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
ce1d2585ff
commit
03d56a0b29
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user