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
b17a23314c
commit
3189b9b45a
@ -35,6 +35,7 @@ desktop=$(sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d
|
|||||||
gnome-terminal --geometry=130x20 -e "bash -c \"journalctl -fxe; exec bash\""
|
gnome-terminal --geometry=130x20 -e "bash -c \"journalctl -fxe; exec bash\""
|
||||||
gnome-terminal --geometry=130x20 -e "bash -c \"journalctl -fxe | grep -i -e closed -e Successfully -e 'Preauthentication failed' -e 'authenticate' -e 'Failed to join the domain'; exec bash\""
|
gnome-terminal --geometry=130x20 -e "bash -c \"journalctl -fxe | grep -i -e closed -e Successfully -e 'Preauthentication failed' -e 'authenticate' -e 'Failed to join the domain'; exec bash\""
|
||||||
ubuntuclient
|
ubuntuclient
|
||||||
|
}
|
||||||
ubuntuclient(){
|
ubuntuclient(){
|
||||||
desktop=$(sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop)
|
desktop=$(sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop)
|
||||||
if [ $? = 0 ]
|
if [ $? = 0 ]
|
||||||
@ -279,7 +280,7 @@ echo "${INTRO_TEXT}Please reboot your machine and wait 3 min for Active Director
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
}
|
|
||||||
####################### Setup for Ubuntu server #######################################
|
####################### Setup for Ubuntu server #######################################
|
||||||
|
|
||||||
ubuntuserver14(){
|
ubuntuserver14(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user