[6.3] Assigning "shutdown" to eg. Syst?

Dan Nelson dnelson at allantgroup.com
Mon Dec 22 20:02:41 UTC 2008


In the last episode (Dec 22), Gilles said:
> On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon <freebsd at 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 at allantgroup.com


More information about the freebsd-questions mailing list