mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Small fixes
This commit is contained in:
parent
4c79582b95
commit
bf146b58b6
@ -1356,6 +1356,7 @@ read -r -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
|||||||
echo ""
|
echo ""
|
||||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||||
echo "$DOMAIN has been left"
|
echo "$DOMAIN has been left"
|
||||||
|
echo ""
|
||||||
notify-send ADconnection "Left $DOMAIN "
|
notify-send ADconnection "Left $DOMAIN "
|
||||||
linuxclient
|
linuxclient
|
||||||
else
|
else
|
||||||
@ -1368,6 +1369,7 @@ read -r -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
|||||||
echo ""
|
echo ""
|
||||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||||
echo "$DOMAIN has been left"
|
echo "$DOMAIN has been left"
|
||||||
|
echo ""
|
||||||
notify-send ADconnection "Left $DOMAIN "
|
notify-send ADconnection "Left $DOMAIN "
|
||||||
linuxclient
|
linuxclient
|
||||||
else
|
else
|
||||||
@ -1422,6 +1424,7 @@ read -r -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
|||||||
echo ""
|
echo ""
|
||||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||||
echo "$DOMAIN has been left"
|
echo "$DOMAIN has been left"
|
||||||
|
echo ""
|
||||||
notify-send ADconnection "Left $DOMAIN "
|
notify-send ADconnection "Left $DOMAIN "
|
||||||
else
|
else
|
||||||
echo "something went wrong, try to leave manually"
|
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 ""
|
echo ""
|
||||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||||
echo "$DOMAIN has been left"
|
echo "$DOMAIN has been left"
|
||||||
|
echo ""
|
||||||
notify-send ADconnection "Left $DOMAIN "
|
notify-send ADconnection "Left $DOMAIN "
|
||||||
else
|
else
|
||||||
echo "something went wrong"
|
echo "something went wrong"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user