Update ADconnection.sh

This commit is contained in:
PierreGode 2018-08-08 09:59:01 +02:00 committed by GitHub
parent 6ef3283649
commit 9669cf8e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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