Update ADconnection.sh

This commit is contained in:
PierreGode 2018-05-21 14:39:53 +02:00 committed by GitHub
parent 3108810afd
commit b262be1035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1048,7 +1048,7 @@ else
sudo realm discover
exit
else
if [ "$1" = "-ou" ]
if [ "$1" = "-o" ]
then
desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop )
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )