From e0e80013b35d37f47c19370b9240d4751b9acebb Mon Sep 17 00:00:00 2001 From: PierreGode Date: Thu, 9 Aug 2018 13:37:31 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ADconnection.sh b/ADconnection.sh index 5891fbd..80c55a4 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -407,6 +407,7 @@ linuxclient linuxclient(){ fedoras=$( cat /etc/fedora-release | awk '{print $1}' ) Centoss=$( hostnamectl | grep -i Operating | awk '{print $3}' ) +Debians=$( hostnamectl | grep -i Operating | awk '{print $3}' ) if [ "$fedoras" = "Fedora" ] then Fedora_fn @@ -415,9 +416,14 @@ if [ "$Centoss" = "CentOS" ] then CentOS else +if [ "$Debians" = "Debian" ] +then +debianclient +else echo "" fi fi +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}' )