Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-09-25 11:00:14 +02:00 committed by GitHub
parent 80c10f7992
commit e9def497cb

View File

@ -802,7 +802,7 @@ raspberry(){
export HOSTNAME
myhost=$( hostname )
rasp=$(uname -a | grep -i raspberry | cut -d 'x' -f1 | cut -d 'y' -f2)
if [ $rasp -eq raspberr ]
if [ "$rasp" -eq raspberr ]
then
echo "OMG do i sense a Raspberry! you sir are awesome"
sleep 2