Files
luci/themes
Maxim Skokov cf114f96b6 luci-theme-bootstrap: handle null board info in container environments
ubus.call('system', 'board') returns null in minimal container
runtimes without procd. Subsequent accesses to boardinfo.hostname
and boardinfo.rootfs_type crash with 'left-hand side expression
is null'. Add null fallback to prevent the crash.

Fixes openwrt/luci#8726.

Signed-off-by: Maxim Skokov <skokov.m020709@gmail.com>
2026-06-28 02:00:03 +02:00
..