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
20d1e731ad
commit
3adf113d00
@ -42,10 +42,17 @@ if [ $? = 0 ]
|
|||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
|
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
||||||
|
if [ "$rasp" -eq Raspbian ]
|
||||||
|
then
|
||||||
|
echo "this seems to be a raspberry Pi"
|
||||||
|
raspberry
|
||||||
|
else
|
||||||
echo " this seems to be a server, swithching to server mode"
|
echo " this seems to be a server, swithching to server mode"
|
||||||
sleep 2
|
sleep 2
|
||||||
ubuntuserver14
|
ubuntuserver14
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
export HOSTNAME
|
export HOSTNAME
|
||||||
myhost=$( hostname )
|
myhost=$( hostname )
|
||||||
clear
|
clear
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user