diff --git a/ADconnection.sh b/ADconnection.sh index 1729921..c4768f1 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -858,6 +858,10 @@ clear sudo echo "${INTRO_TEXT}packages installed${END}" fi pointtoou=$( sudo grep OUSPECIFIED readfile | awk '{print $3}' ) + if [ "$pointtoou" = "null" ] + then + pointtoou=$(echo="" ) + fi echo "hostname is $myhost" echo "Looking for Realms.. please wait" REALM=$( sudo grep DOMAIN readfile | awk '{print $3}' )