The automated system for building firmware for a specific devices allows including a first boot script. This can be very useful, for example a device with no physical port.
forum.openwrt.org/t/the-openwrt-firmware-selector/81721/341
forum.openwrt.org/t/the-openwrt-firmware-selector/81721/341