mirror of
https://github.com/openwrt/video.git
synced 2026-10-14 07:47:00 +04:00
A worked example of what the ucode splash plugin can do, and the default theme once it is installed: nothing here is meant to be the last word on how an OpenWrt boot should look. The scene is a network graph, laid out afresh on every boot, drawn from one ucode program and one SVG with no rendered frames anywhere. It has two phases because the splash does. Before ubusd exists there is nothing true to report, so the graph simply grows, a node every second or so, for however long preinit takes. Once the bus is up the rest of the graph completes at once, the row of pictograms is built from /etc/rc.d/S*, and the packets that move afterwards are driven by real ubus activity rather than a timer. A stage is shown only for a service that is actually enabled and has a pictogram, dark until the service's own ubus object appears, so a box without blockd never shows storage. sysntpd has no object and reports its sync through /etc/hotplug.d/ntp instead, which is the general way for a service with a hook but no object to light its stage. Shutdown, reboot and sysupgrade take the graph apart rather than building it. About 5 ms a frame at any resolution from 640x480 to 3840x2160 on a Rock 5B, against 33 ms at the default frame rate. Signed-off-by: Daniel Golle <daniel@makrotopia.org>