ledcontrol: add force copy modules

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-07-06 14:11:24 +02:00
parent 6afc8da676
commit 557cdf191a

View File

@ -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