From 1cc623b1d8b30d012a7059b8c2166b7e85771fbb Mon Sep 17 00:00:00 2001 From: PierreGode Date: Thu, 9 Aug 2018 09:16:36 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index a8d6880..029f53d 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -223,10 +223,16 @@ linuxclient ################################## Join for linux clients ########################################## linuxclient(){ +fedoras=$( cat /etc/fedora-release | awk '{print $1}' ) +if [ "$fedoras" = "Fedora" ] +then +Fedora_fn +else +echo "" +fi desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop | head -1 | awk '{print$1}' ) rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) -fedoras=$( cat /etc/fedora-release | awk '{print $1}' ) #### OS detection if [ "$desktop" = "desktop" ] then