From 057e5b7f39aef750152ebedf9ef2340e3a83ae6a Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Mon, 6 Mar 2017 16:06:48 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index d923116..728dcaf 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -74,9 +74,9 @@ else echo "${NUMBER}I searched for an available domain and found nothing, please type your domain manually below... ${END}" echo "Please enter the domain you wish to join:" read -r DOMAIN +fi discovery=$(realm discover $DOMAIN | grep domain-name) NetBios=$(echo $DOMAIN | cut -d '.' -f1) - echo "${INTRO_TEXT}"Please type Admin user"${END}" read ADMIN clear