diff --git a/ADconnection.sh b/ADconnection.sh index 833de52..6c31b39 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1356,6 +1356,7 @@ read -r -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 "" notify-send ADconnection "Left $DOMAIN " linuxclient else @@ -1368,6 +1369,7 @@ read -r -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 "" notify-send ADconnection "Left $DOMAIN " linuxclient else @@ -1422,6 +1424,7 @@ read -r -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 "" notify-send ADconnection "Left $DOMAIN " else echo "something went wrong, try to leave manually" @@ -1435,6 +1438,7 @@ read -r -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 "" notify-send ADconnection "Left $DOMAIN " else echo "something went wrong"