From 557cdf191a78cb35c15eb866fd1ac1eedc88850c Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 6 Jul 2024 14:11:24 +0200 Subject: [PATCH] ledcontrol: add force copy modules Signed-off-by: AuxXxilium --- ledcontrol/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ledcontrol/install.sh b/ledcontrol/install.sh index cbab191..11e2efd 100755 --- a/ledcontrol/install.sh +++ b/ledcontrol/install.sh @@ -14,8 +14,10 @@ if [ "${1}" = "late" ]; then cp -vf /usr/bin/ledcontrol.sh /tmpRoot/usr/bin/ledcontrol.sh cp -vf /usr/bin/ugreen_leds_cli /tmpRoot/usr/bin/ugreen_leds_cli cp -vf /usr/arc/addons/led.conf /tmpRoot/usr/arc/addons/led.conf - modprobe i2c-smbus + cp -vf /usr/lib/modules/i2c-i801.ko /tmpRoot/usr/lib/modules/i2c-i801.ko + cp -vf /usr/lib/modules/i2c-smbus.ko /tmpRoot/usr/lib/modules/i2c-smbus.ko modprobe i2c-i801 + modprobe i2c-smbus mkdir -p "/tmpRoot/usr/lib/systemd/system" # NIC