mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
cca522a1ac
commit
118d293515
@ -1371,6 +1371,8 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
||||
notify-send ADconnection "Left $DOMAIN "
|
||||
else
|
||||
echo "something went wrong, try to leave manually"
|
||||
echo ""
|
||||
echo "Please type domain you wish to leave"
|
||||
read -r DOMAIN
|
||||
sudo realm leave $DOMAIN
|
||||
left=$(sudo realm discover | grep configured | awk '{print $2}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user