From 66c5487a38d47db4999b7b419781d30ab9e27431 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Fri, 10 Aug 2018 10:26:23 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ADconnection.sh b/ADconnection.sh index ac56450..97ff4ee 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -408,6 +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>& 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 @@ -452,6 +453,11 @@ then echo "${INTRO_TEXT}"Detecting Kali linux"${END}" kalijoin else +if [ "$MinOS" = Mint ] +then +echo "Detecting Linux Mint" +LinuxMint +else echo "No compatible System found" exit fi @@ -460,6 +466,7 @@ fi fi fi fi +fi } ################################ Ubuntu 14-18 ########################################### @@ -998,6 +1005,11 @@ fi_auth_yum exit } +############################# Linux Mint ##################################### +LinuxMint(){ +echo test Linux mint" +exit +} ############################### Update to Realmd from likewise ################## Realmdupdate(){