mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Added support for Ubuntu mate +remade OS detection
This commit is contained in:
parent
ff8ae0ad42
commit
d42da6f0e6
@ -873,6 +873,7 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
||||
if [ "$LEFT" = "no" ]
|
||||
then
|
||||
echo ""
|
||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||
echo "$DOMAIN has been left"
|
||||
else
|
||||
echo "something went wrong, try to leave manually"
|
||||
@ -885,6 +886,7 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
||||
if [ "$left" = "no" ]
|
||||
then
|
||||
echo ""
|
||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||
echo "$DOMAIN has been left"
|
||||
else
|
||||
echo "something went wrong, try to leave manually"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user