Re: shutting down w/ ctrl+alt+del

2001-02-14 Thread Philipp Schulte
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



shutting down w/ ctrl+alt+del

2001-02-13 Thread Matheson Cameron
Hey,

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`

Thanks,
Cameron Matheson


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: shutting down w/ ctrl+alt+del

2001-02-13 Thread David Steinberg
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.

HTH.

--
David Steinberg -o)
Computer Engineering Undergrad, UBC / \
[EMAIL PROTECTED]_\_v