Usually I will edit the inittab file to

        # Trap CTRL-ALT-DELETE
        ca::ctrlaltdel:/sbin/shutdown -h now

But anyone have better idea if I could do addition trap eg
1.      CTRL-ALT-3
2.      CTRL-ALT-5
3.      CTRL-ALT-1

So that I can decide the next level of boot that I wanted.

Thanks and regards

Moke


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Hartwell
Sent: Monday, November 26, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Shutting down linux


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 25 November 2001 11:56 pm, Ian Truelsen wrote:
> Bill Hartwell writes:
> >
> > That's one interesting machine you have. I know about binding
> > ctrl-alt-del to the shutdown command, but normally a power switch is
> > directly linked to the power supply, and therefore hitting that switch
> > simply kills your power. A machine that can be set up to do a normal
> > shutdown by hitting the power switch would make a LOT of people very
> > happy.
>
> It is a pretty standard feature of the newer ATX style machines and
> motherboards. With the introduction of the ATX form and associated power
> supplies, the power switch has not been directly connected to the power
> supply.
>
> Ian.
>

Looks like I'm going to have to see about upgrading my system, then. Mine
still uses an AT motherboard. I suppose that'll mean a new case, too, to
accomodate the new-style power supply....


- --
All private email sent with PGP encryption. Email for key.
Homepage: http://www.macmanusnet.net
NMSU Libertarians: http://liberty.macmanusnet.net
It's time for Bill of Rights Enforcement!
"What, sir, is the use of a militia? It is to prevent the establishment of a
standing army, the bane of liberty....Whenever Governments mean to invade
the
rights and liberties of the people, they always attempt to destroy the
militia, in order to raise an army upon their ruins." - Rep. Gerry, US House
of Representatives, 17 Aug, 1789, Debate on the Bill of Rights
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwB8ioACgkQJVkkvczdQ8yiewCcCU7usx1wZWTH24p9s72IqKot
psgAnR71vMKNogNpoIkQ9aqNjUXBKZVA
=iThy
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to