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

Re: Shutdown



On Tue, Apr 03, 2001 at 04:15:27PM -0600, John Galt wrote:
> On Tue, 3 Apr 2001, Ales Jerman wrote:
> 
> >Hello!
> >Is there any combination like Ctrl+Alt+Del, but not for reboot system,
> >but for halt or shutdown system?
> 
> C-A-D does a "/sbin/shutdown -t1 -a -r now", so just edit /etc/inittab and
> remove the -r flag from the crtlaltdel definition.  man shutdown as to
> the whys and wherefores of the shutdown command and man 5 inittab for more
> tricks to do with inittab...

Might want to replace "-r" with "-h" for a halt ... Mr. Galt's method
will take the machine to single user mode.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpCLKieTIFMl.pgp
Description: PGP signature


Reply to: