Update ADconnection.sh

This commit is contained in:
PierreGode 2018-07-30 09:25:56 +02:00 committed by GitHub
parent 7a8ef48503
commit 2a0772623c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ linuxclient
################################## Join for linux clients ########################################## ################################## Join for linux clients ##########################################
linuxclient(){ linuxclient(){
desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop ) desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop | head -1 )
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
#### OS detection #### OS detection