Re: [PATCH] call drv->shutdown at rmmod
From: Russell King (rmk_at_arm.linux.org.uk)
Date: 08/14/03
- Previous message: Robert Love: "Re: [PATCH] cryptoapi: Fix sleeping"
- In reply to: Russell King: "Re: [PATCH] call drv->shutdown at rmmod"
- Next in thread: Patrick Mochel: "Re: [PATCH] call drv->shutdown at rmmod"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 14 Aug 2003 17:40:08 +0100 To: Christoph Hellwig <hch@infradead.org>, "Eric W. Biederman" <ebiederm@xmission.com>, Pavel Machek <pavel@suse.cz>, Greg KH <greg@kroah.com>, linux-kernel@vger.kernel.org
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@arm.linux.org.uk) 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Robert Love: "Re: [PATCH] cryptoapi: Fix sleeping"
- In reply to: Russell King: "Re: [PATCH] call drv->shutdown at rmmod"
- Next in thread: Patrick Mochel: "Re: [PATCH] call drv->shutdown at rmmod"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|