acpid: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-07-12 17:25:45 +02:00
parent aea6e5083e
commit 3288073490

View File

@ -13,7 +13,7 @@ if [ "${1}" = "late" ]; then
tar -zxf /addons/acpid-7.1.tgz -C /tmpRoot/usr/ ./bin ./sbin ./lib
tar -zxf /addons/acpid-7.1.tgz -C /tmpRoot/ ./etc
sed -i 's|=/|=-/|g' /tmpRoot/usr/lib/systemd/system/acpid.service
sed -i '/^Exec/s|=/|=-/|g' /tmpRoot/usr/lib/systemd/system/acpid.service
if [ -f /usr/lib/modules/button.ko ]; then
cp -vf /usr/lib/modules/button.ko /tmpRoot/usr/lib/modules/button.ko
else