Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 1996 19:56:36 +0200
From:      roberto@keltia.freenix.fr (Ollivier Robert)
To:        ts@polynet.lviv.ua (Terletsky Slavik)
Cc:        freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers mailing list)
Subject:   Re: How can I trap the CTRL-ALT-DEL combination
Message-ID:  <199607231756.TAA07568@keltia.freenix.fr>
In-Reply-To: <31F3B037.167E@polynet.lviv.ua>; from Terletsky Slavik on Jul 22, 1996 19:45:43 %2B0300
References:  	<31F3B037.167E@polynet.lviv.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Terletsky Slavik:
> When I need to reboot my remote router I call untrusted poeple to
> switch OFF & ON the box, but would it be nice to do that traping
> CTRL-ALT-DEL combination && reboot. Where can I do it?

Look  into your keymap    file (taken from /usr/share/syscons/keymaps)  and
search for boot in it. If it has  not the "boot" string  in it, replace the
lines #083 and #103 by these

  083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
  103	fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O

There was talk  to enable/disable it  via a sysctl(3)  parameter but no one
ever got around to do it...
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 2.2-CURRENT #16: Sun Jul 21 13:26:53 MET DST 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607231756.TAA07568>