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

Re: shutting down w/ ctrl+alt+del



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         / \
steinber@interchange.ubc.ca                _\_v



Reply to: