mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
6e378f38cd
commit
603a649611
@ -47,13 +47,14 @@ echo ""
|
|||||||
else
|
else
|
||||||
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
||||||
if [ "$rasp" = "Raspbian" ]
|
if [ "$rasp" = "Raspbian" ]
|
||||||
then
|
then
|
||||||
echo "this seems to be a raspberry Pi"
|
echo "${INTRO_TEXT}"Detecting Raspberry Pi"${END}"
|
||||||
raspberry
|
raspberry
|
||||||
else
|
else
|
||||||
kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
||||||
if [ "$kalilinux" = "Kali" ]
|
if [ "$kalilinux" = "Kali" ]
|
||||||
then
|
then
|
||||||
|
echo "${INTRO_TEXT}"Detecting Kali linux"${END}"
|
||||||
kalijoin
|
kalijoin
|
||||||
else
|
else
|
||||||
echo " this seems to be a server, swithching to server mode"
|
echo " this seems to be a server, swithching to server mode"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user