Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 02:40:01 -0700 (PDT)
From:      David Malone <dwmalone@maths.tcd.ie>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/29395: reaction on ctrl-alt-del
Message-ID:  <200108030940.f739e1h58714@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/29395; it has been noted by GNATS.

From: David Malone <dwmalone@maths.tcd.ie>
To: oliver@freeware.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/29395: reaction on ctrl-alt-del
Date: Fri, 3 Aug 2001 10:32:06 +0100

 On Thu, Aug 02, 2001 at 10:22:17PM +0200, oliver@freeware.de wrote:
 > >Description:
 > 	I wrote a few lines with two new kernel options. My Desktop machine 
 > 	now turns power off after pressing ctrl-alt-del. Nice feature "from"
 > 	Linux, where it is solved some dirty outside the kernel with 
 > 	/etc/inittab imo. Halt is maybe nice on headless machines.
 
 You should already be able to do this using the "kbdcontrol" command
 to change the mapping of ctl-alt-del. You should be able to do this
 by changeing "boot" to "pdwn" in the keymap file
 
 	kbdcontrol -d | sed -e s/boot/pdwn/g > mykeymap
 	kbdcontrol -l mykeymap
 
 You could then get this new map loaded at boot time by putting it
 in /usr/share/syscons/keymaps and putting:
 
 	keymap="mykeymap"
 
 in /etc/rc.conf. You can get more details about keymaps with "man
 kbdcontrol" and "man 5 kdbmap".
 
 	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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