ように at the end of a relative clause


In this sentence:

> 石の上にも三年とは、冷たい石でも三年間座り続ければ暖まる **ように** 、何事にも忍耐強さが大切だという意味です。

Is it saying that even in a cold stone, if something continues to fall/sit on
top of it,in order to warm the stone you have to persevere in everything?  
I don't know how to interpret ように correctly in that position.




Technically, this ように is not in a relative clause because it does not modify a
following noun. It's in an adverbial subordinate clause. For instance,
"because I sing", "if I sing" and "until I sing" are adverbial subordinate
clauses.

ように can mean "in order to ～", but it means something different here. This ～ように
is "as (in) ～", "like (in) ～" used to present an example or something that
resembles.

> 石の上にも三年とは、[冷たい石でも三年間座り続ければ暖まるように、]何事にも忍耐強さが大切だという意味です。
>
> 石の上にも三年 means patience is important in everything, [just as even a cold
> stone can be warmed if someone keeps sitting on it for three years].




Technically, this ように is not in a relative clause because it does not modify a
following noun. It's in an adverbial subordinate clause. For instance,
"because I sing", "if I sing" and "until I sing" are adverbial subordinate
clauses.

ように can mean "in order to ～", but it means something different here. This ～ように
is "as (in) ～", "like (in) ～" used to present an example or something that
resembles.

> 石の上にも三年とは、[冷たい石でも三年間座り続ければ暖まるように、]何事にも忍耐強さが大切だという意味です。
>
> 石の上にも三年 means patience is important in everything, [just as even a cold
> stone can be warmed if someone keeps sitting on it for three years].

