#!/bin/sh
while sleep 2
do
	
	if who | grep "$1" 
	then
		break
#	else
#		echo $1 is not logged on.
	fi
done
