From 8ea4dec6193eaaf21b97bed9402eb4be20720264 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 30 Apr 2023 19:02:11 +0200 Subject: preinit: also load modules for platform devices before device tree ones Since a few modules are listed by the platform, load them as well before the device-tree ones. --- .preinit | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.preinit b/.preinit index dd2a621..4c65b90 100644 --- a/.preinit +++ b/.preinit @@ -99,6 +99,14 @@ ex /sbin/glinet-button # load the needed modules for device tree nodes te SKIPMODULES=1 |{ + st /sys/devices/platform/ + &st /sbin/pf-modules + &{ + ec "Loading modules for platform devices..." + ex /sbin/pf-modules + ec "Done." + } + st /sys/firmware/devicetree/ &st /sbin/dt-modules &{ -- 2.35.3