Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-09-25 11:01:29 +02:00 committed by GitHub
parent e9def497cb
commit ce1d2585ff

View File

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