Who has custody of an illegitimate child when there is no court decision nor order treating custody?

The law presumes that an unwed mother hold sole and exclusive custody of her child unless/until the court rules otherwise. She does not have to allow visitation rights to the father or the father's family, but neither can she seek child support until paternity has been established.