From 7fe37e68205edbc028503d93809ea49c0282edb3 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Fri, 10 Aug 2018 10:27:37 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 97ff4ee..a849f4f 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -408,7 +408,7 @@ linuxclient ################################## Join for linux clients ########################################## linuxclient(){ TheOS=$( hostnamectl | grep -i Operating | awk '{print $3}' ) < /dev/null > /dev/null 2>&1 -MintOS=$( hostnamectl | grep -i Operating | awk '{print $4}' ) < /dev/null > /dev/null 2>& +MintOS=$( hostnamectl | grep -i Operating | awk '{print $4}' ) < /dev/null > /dev/null 2>&1 rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) < /dev/null > /dev/null 2>&1 kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) < /dev/null > /dev/null 2>&1 desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop | head -1 | awk '{print$1}' ) < /dev/null > /dev/null 2>&1