[lkml]   [2003]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [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

    - 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

    Russell King ( The developer of ARM Linux

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:0.020 / U:0.036 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site