UmVirt LFS Package info

DB commit: c78e95157185199cceff370fa5b5f1dd2a1be2fa
APP commit: cac3f2066a9a05955b29d720b9b9b14f534d21c2

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