Re: [PATCH] call drv->shutdown at rmmod
From: Russell King
Date: Thu Aug 14 2003 - 11:44:36 EST
On Thu, Aug 14, 2003 at 09:06:05AM +0100, Russell King wrote:
> That's likely to remove the keyboard driver, and some people like
> to configure their box so that ctrl-alt-del halts the system, and
> a further ctrl-alt-del reboots the system once halted.
Several people have asked me how to set this up, so I'll give the info
here.
- change inittab to call shutdown with -h instead of -r
- telinit Q
I think there is a catch on x86 though - I think shutdown -h powers the
machine down rather than halting it. The redhat initscripts seem to
need a /halt file to prevent poweroff. Maybe calling /sbin/halt
instead of shutdown from the initscripts would work better in those
cases...
--
Russell King (rmk@xxxxxxxxxxxxxxxx) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/