Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2008 14:02:39 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Gilles <gilles.ganault@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [6.3] Assigning "shutdown" to eg. Syst?
Message-ID:  <20081222200239.GI90803@dan.emsphone.com>
In-Reply-To: <f0svk4pve3b1uc6rle75j4ltvbjfu9o4pg@4ax.com>
References:  <du8vk4h09llfrhovtps9rifdngm12bs9gj@4ax.com> <20081222160902.b63595aa.freebsd@edvax.de> <f0svk4pve3b1uc6rle75j4ltvbjfu9o4pg@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 22), Gilles said:
> On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon <freebsd@edvax.de>
> wrote:
> >I have a similar setting, but it requires X, WindowMaker and a
> >Sun Type 6 USB keyboard. :-)
> 
> Thanks for the input, but this server is text-only. I'll try to find
> how FreeBSD is configured so that ALT-CTRL-DEL maps to "reboot", and
> add my own keyboard key to shut it down.

See the kbdcontrol(1) manpage; the -d and -l options are what you need.
The keyboard(4) manpage sort of describes the layout of the keymap
file.  The full list of actions isn't documented anywhere, but all you
need is 'boot'.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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