mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
ledcontrol: add force copy modules
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
6afc8da676
commit
557cdf191a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user