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