[Nottingham] power off

Haber, Michael michael.haber at ntu.ac.uk
Fri Dec 19 12:19:50 GMT 2003


Thanks all, great stuff!

Mike


-----Original Message-----
From:	Rob Andrews [mailto:rob at impure.org.uk]
Sent:	Fri 19/12/2003 12:13 PM
To:	nottingham at mailman.lug.org.uk
Cc:	
Subject:	Re: [Nottingham] power off
[19-Dec-2003 12:11.12 (GMT) / Jim Driscoll]
 > IIRC, there's something you can put in /etc/inittab to make it able to 
 > shut down when the power button is pressed (plus of course the 
 > aforementioned APM or ACPI support in the kernel). Have a look, there 
 > may already be something in there, just commented out.

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!

-- 
n.

_______________________________________________
Nottingham mailing list
Nottingham at mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/nottingham



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2747 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/nottingham/attachments/20031219/ff78232c/attachment.bin


More information about the Nottingham mailing list