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
2c347c9e3a
commit
440708949d
@ -1078,7 +1078,7 @@ echo "hostname is $myhost"
|
||||
echo "Looking for Realms.. please wait"
|
||||
DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}')
|
||||
ping -c 2 $DOMAIN >/dev/null
|
||||
if [ "$?" = "0" ]
|
||||
if [ "$?" -eq "0" ]
|
||||
then
|
||||
clear
|
||||
echo "${NUMBER}I searched for an available domain and found ${MENU}>>> $DOMAIN <<<${END}${END}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user