cvs commit: src/usr.sbin/powerd powerd.c
nate at root.org
Sun Feb 27 07:09:39 GMT 2005
M. Warner Losh wrote:
> In message: <200502270158.j1R1wnWJ047335 at repoman.freebsd.org>
> Nate Lawson <njl at FreeBSD.org> writes:
> : Move the AC line checking code into its own function, reducing the
> : ifdef __i386__ stuff for APM. Tested as working correctly on i386 and
> : compile-tested on sparc64.
> We likely want to have a ifndef PC98 for acpi, since no pc98 machines
> have acpi.
> # unless initalizing acpi can fail gracefully.
It attempts to find the AC line sysctl. If the sysctl doesn't exist,
the AC line stuff is ignored. sysctl is MI.
More information about the cvs-src