UmVirt LFS Package info

DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

acpid

The acpid (Advanced Configuration and Power Interface event daemon) is a completely flexible, totally extensible daemon for delivering ACPI events. It listens on netlink interface and when an event occurs, executes programs to handle the event. The programs it executes are configured through a set of configuration files, which can be dropped into place by packages or by the user.

Package info

Codename: acpid
Source file: acpid-2.0.30.tar.xz
Source directory: acpid-2.0.30
Package URL: https://umvirt.com/linux/downloads/0.1/packages/a/acpid-2.0.30.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.1/packages/a/acpid-2.0.30.tar.xz.md5sum
Dependances: blfs-systemd-units.
Dependance of: *** NO PACKAGES FOUND ***
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
./configure --prefix=/usr \
            --docdir=/usr/share/doc/acpid-2.0.30

Build script:
make

Install script:
make install                         &&
install -v -m755 -d /etc/acpi/events &&
cp -r samples /usr/share/doc/acpid-2.0.30

cat > /etc/acpi/events/lid << "EOF"
event=button/lid
action=/etc/acpi/lid.sh
EOF

cat > /etc/acpi/lid.sh << "EOF"
#!/bin/sh
/bin/grep -q open /proc/acpi/button/lid/LID/state && exit 0
/usr/sbin/pm-suspend
EOF
chmod +x /etc/acpi/lid.sh

cd /usr/share/blfs-systemd-units
make install-acpid