// todo, actual file logic // - ready query param to get flashrom path, check for its existance // - handle last part to redirect to lc2-download-complete // - handle failures headers = `200 OK Content-type: text/html` data = ` Updating

Updating now...
Your Internet Receiver is being
updated automatically.

This will take a while, and then
your unit will reboot.

`; if (flashrom_isboot && flashrom_part == 16) { data += `

The system will pause for about 30 seconds at the end of this update. Please do not interrupt the system during this time. ` } data += `

    Receiving part ${flashrom_part} of ${flashrom_total_parts} v${flashrom_version} (${flashrom_type})    
`