[Nottingham] power off
Tom Bird
tom at hambule.co.uk
Mon Dec 22 15:46:14 GMT 2003
On Mon, 22 Dec 2003, Haber, Michael wrote:
> >>Loading the ACPI userland helper patches the power button to execute
> >>'init 0', which powers off when the kernel halts.
>
> >>/etc/acpi/powerbtn.sh in Debian, but other distros may vary.
>
> >>Gets quite extensively used when I'm in a hurry!
>
> OK, so I've installed the apcid package and /etc/acpi/powerbtn.sh is there. How can I check it will work without just pressing the button....or is there no other way.
Check /var/log/dmesg for stuff to do with ACPI, 'grep -i acpi
/var/log/dmesg' on my system chucks up quite a lot. Should be a reference
to the power button.
Then.. do a 'sync' and push the button.
--
tom
'decerebrated turnip'
More information about the Nottingham
mailing list