check_runstate()
{
	RUN_STATE=`who -r|awk '{print $7}'`

	if [ ${RUN_STATE:-2}  -lt 2 -o $RUN_STATE = "S" -o $RUN_STATE = "s" ]; then
		terminate "System must be in multiuser mode for installation to begin"
	fi
}
