Modifying boot loader

harddrive123:
On power up I want a specific I/O pin to be set to high/low (dependent on final design), I'll have a push button on a interrupt pin that when pressed will invert the pin output.

So a human will have to press / not press a pushbutton at the exact moment the bootloader runs. What if a human is not there? Will the hardware not be correctly configured?