Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-11-21 14:59:10 +01:00 committed by GitHub
parent 3adf113d00
commit 95886b6960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ then
echo "" 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" -eq Raspbian ] if [ "$rasp" = "Raspbian" ]
then then
echo "this seems to be a raspberry Pi" echo "this seems to be a raspberry Pi"
raspberry raspberry