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
7be1a948bb
commit
152ce4c7e1
@ -349,6 +349,8 @@ eof
|
||||
}
|
||||
############################### Fail check ####################################
|
||||
failcheck(){
|
||||
export HOSTNAME
|
||||
myhost=$( hostname )
|
||||
therealm=$(realm discover | grep -i configured: | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
|
||||
if [ $therealm = no ]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user