[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutting down w/ ctrl+alt+del



On Tue, Feb 13, 2001 at 06:24:23PM -0800, David Steinberg wrote: 

> On Tue, 13 Feb 2001, Matheson Cameron wrote:
> > I was wondering if I could change the bindings of
> > ctrl+alt+del, so that it did `shutdown -h now`,
> > instead of `shutdown -r now`
> 
> It sure is!
> 
> As root, edit /etc/inittab.  If you've never edited it before, the line
> you're interested in should look like this:
> 
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
> 
> Just change "-r" to "-h".

And do a "$init q" after this in order to make this available
immediately.
Phil



Reply to: