Re: macppc hw.power, machdep.lidaction, machdep.pwraction

2022-10-16 Thread Mark Kettenis
> Date: Sun, 16 Oct 2022 11:48:56 -0400 > From: George Koehler > > This diff will add a few features to the macppc kernel: > > - sysctl hw.power will be set to 0 or 1 when I unplug or plug in >my PowerBook's AC adapter. > - sysctl machdep.lidaction and machdep.pwraction will exist. > -

macppc hw.power, machdep.lidaction, machdep.pwraction

2022-10-16 Thread George Koehler
This diff will add a few features to the macppc kernel: - sysctl hw.power will be set to 0 or 1 when I unplug or plug in my PowerBook's AC adapter. - sysctl machdep.lidaction and machdep.pwraction will exist. - The default machdep.pwraction=1 will power off my macppc when I push the