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
4f50eee301
commit
1c31f51234
@ -258,6 +258,7 @@ fi
|
||||
####################### Setup for Ubuntu16 and Ubuntu 14 clients debug mode ######################################
|
||||
ubuntuclientdebug(){
|
||||
desktop=$(sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop)
|
||||
sudo gnome-terminal -e "bash -c \"!!; exec bash\"journalctl -fxe"
|
||||
if [ $? = 0 ]
|
||||
then
|
||||
echo ""
|
||||
@ -284,7 +285,6 @@ sudo echo "${RED_TEXT}"Installing pakages failed.. please check connection ,dpkg
|
||||
exit
|
||||
fi
|
||||
sleep 1
|
||||
gnome-terminal -e "bash -c \"!!; exec bash\"journalctl -fxe"
|
||||
DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}')
|
||||
ping -c 2 $DOMAIN
|
||||
if [ $? = 0 ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user