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
6ef3283649
commit
9669cf8e4a
@ -869,7 +869,6 @@ else
|
||||
echo ""
|
||||
echo "$DOMAIN has not been configured"
|
||||
echo ""
|
||||
linuxclient
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
@ -884,8 +883,6 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
||||
echo ""
|
||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||
echo "$DOMAIN has been left"
|
||||
echo ""
|
||||
linuxclient
|
||||
else
|
||||
echo "something went wrong, try to leave manually"
|
||||
read -r DOMAIN
|
||||
@ -896,8 +893,6 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
||||
echo ""
|
||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||
echo "$DOMAIN has been left"
|
||||
echo ""
|
||||
linuxclient
|
||||
else
|
||||
echo "something went wrong"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user