Hi Jeff,

Jeff King wrote:
Package: acpi-support
Version: 0.109-5
Severity: normal
Tags: patch

Newer kernels have disabled the /proc interface to power management,
leaving only the /sys. However, the /etc/acpi/power.sh script makes a
decision about running the scripts in battery.d by looking for ac
adapters in /proc (this also affects the running of scripts in ac.d).

The patch below fixes it for me (but this is the first time I have ever
done anything with the /sys power interface, so I don't know how correct
the method for finding ac adapters is).

Looks good to me! I'll try to keep support for the old stuff as well, but I'll use the stuff in your patch for the new. Thanks for contributing!

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to