[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ACPI and anacron



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 10 August 2003 14:06, Carsten wrote:
> The anacron start-script uses the script /usr/bin/on_ac_power to check
> whether we're on battery power. The fault lies there as it checks for AC
> adapters in /proc/acpi/0/. At my system the related acpi files are in
> /proc/acpi/ac_adapter/. So my workaround is: I changed the acpi path from
> /proc/acpi/0/ to /proc/acpi/ac_adapter/ in /usr/bin/on_ac_power. Maybe the
> path varies in different systems, I don't know. So you should check whether
> /proc/acpi/ac_adapter is the correct path at your system, or whether the
> related files are somewhere else in /proc/acpi/.

That did the trick! Thanks a lot.

Matt

- -- 
Matteo Vescovi
Email: mbishops(at)tiscali(dot)it
GnuPG Key: http://web.tiscali.it/revese/dhc_key.asc
Fingerprint: 18CE 32E6 399B 8212 549E  1E1F C299 A22E 184C 01CA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/NlV8wpmiLhhMAcoRAmrPAKC96rzP66SjJHuhUquhxhErhjmWEACff/Hj
0ahJfqVqqVzDfPSh5B3BlcQ=
=Y5qC
-----END PGP SIGNATURE-----



Reply to: