Bootloader without turning pins on/off when booting up

I haven't yet seen a relay board that needs pullup or pulldown resistors to avoid the relays coming on during power up. Perhaps you should post your code?