Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-01-31 09:06:28 +01:00 committed by GitHub
parent a19d988d77
commit 1ec06c8852

View File

@ -30,7 +30,7 @@ sudo apt-get install realmd adcli sssd -y
sudo apt-get install ntp -y sudo apt-get install ntp -y
clear clear
DOMAIN=$(realm discover | grep -i domain.name | cut -d ':' -f2) DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2)
echo "${NUMBER}I seached for an available domain and found $DOMAIN ${END}" echo "${NUMBER}I seached for an available domain and found $DOMAIN ${END}"
read -p "Do you wish to use it (y/n)?" yn read -p "Do you wish to use it (y/n)?" yn