Update ADconnection.sh

This commit is contained in:
PierreGode 2018-08-10 09:23:10 +02:00 committed by GitHub
parent e8f4f1b276
commit 75739588a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -432,7 +432,7 @@ echo "Checking if it is a Desktop or server"
if [ "$desktop" = "desktop" ] < /dev/null > /dev/null 2>&1 if [ "$desktop" = "desktop" ] < /dev/null > /dev/null 2>&1
then then
echo "Ubuntu Desktop detected" echo "Ubuntu Desktop detected"
echo "" UbuntU
else else
echo " this seems to be a server, swithching to server mode" echo " this seems to be a server, swithching to server mode"
ubuntuserver14 ubuntuserver14
@ -456,6 +456,8 @@ fi
fi fi
fi fi
fi fi
}
UbuntU(){
export HOSTNAME export HOSTNAME
myhost=$( hostname ) myhost=$( hostname )
clear clear