Messages in this thread | | | Date | Thu, 14 Aug 2003 17:40:08 +0100 | From | Russell King <> | Subject | Re: [PATCH] call drv->shutdown at rmmod |
| |
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/
| |