Radiator fan wiring question

I just recently picked up a wagon. and the radiator fan is run off ignition. I'm trying to figure out how to make it run like factory. where it turns on and off by temp. as far as I can see, the fan is plugged into the factory harness. car came pretty modified, so can the fan be controlled by the ecu? or which sensor can I tee from to do this? thanks for any help. it's been awhile since I had honda so I'm a little rusty.
Comments
They probably bypassed the switch (joined the 2 wires together).
It will be a little more confusing if your car has A/C, but if the wiring is still there it shouldn't be too difficult.