Update ADconnection.sh

This commit is contained in:
PierreGode 2018-08-24 09:42:21 +02:00 committed by GitHub
parent 25bd336ea3
commit 19c70674b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1298,6 +1298,7 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
sudo echo "" | sudo tee /etc/sssd/sssd.conf
echo "$DOMAIN has been left"
notify-send ADconnection "Left $DOMAIN "
linuxclient
else
echo "something went wrong, try to leave manually"
read -r DOMAIN
@ -1309,6 +1310,7 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
sudo echo "" | sudo tee /etc/sssd/sssd.conf
echo "$DOMAIN has been left"
notify-send ADconnection "Left $DOMAIN "
linuxclient
else
echo "something went wrong"
fi