Update ADconnection.sh

This commit is contained in:
PierreGode 2018-03-26 10:58:34 +02:00 committed by GitHub
parent 6e378f38cd
commit 603a649611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,13 +47,14 @@ echo ""
else
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
if [ "$rasp" = "Raspbian" ]
then
echo "this seems to be a raspberry Pi"
then
echo "${INTRO_TEXT}"Detecting Raspberry Pi"${END}"
raspberry
else
kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
if [ "$kalilinux" = "Kali" ]
then
echo "${INTRO_TEXT}"Detecting Kali linux"${END}"
kalijoin
else
echo " this seems to be a server, swithching to server mode"