From fd1ae92966833a0b1c5d93a273f504f9920045f7 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Tue, 31 Jan 2017 08:46:53 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index aa94872..9bfedcc 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -33,10 +33,10 @@ clear DOMAIN=$(realm discover | grep -i domain.name | cut -d ':' -f2) read -p "I seached for an available domain and found $DOMAIN : do you wish to use it (y/n)?" yn case $yn in - [Yy]* ) echo 'yes!';; + [Yy]* ) echo "Please log in with domain admin to $DOMAIN to connect";; - [Nn]* ) echo "Please enter the domain you wish to join: " -read DOMAIN;; + [Nn]* ) echo "Please enter the domain you wish to join:" + read DOMAIN;; * ) echo 'Please answer yes or no.';; esac NetBios=$(echo $DOMAIN | cut -d '.' -f1)