Stefan Eßer 0fc950b70a The new naming scheme for keymap files for use with vt(4) introduced a
collision for "no" as a country code with "NO" meaning "do not load any
keymap" (which also has been the default value in etc/defaults/rc.conf
for a long time).

The result of this collision is, that "kbdcontrol -l no" will load the
Norwegian keymap, while "keymap=no" in rc.conf was interpreted as the
lower case spelling of "NO" meaning "no keyboard" (and "no.kbd" was not
loaded).

Fix this by matching only the upper-case spelling "NO" in rc.d/syscons
when deciding whether to load a keymap file.

This will lead to "no.kbd" being loaded, if the until now valid (but
non-default) spelling "no" was used in an individual rc.conf file to mean
"no keyboard". But all alternatives I could think of introduce a larger
violation of POLA ...

Reported by:    Gyrd Thane Lange (gyrd-se at thanelange.no)
MFC after:	3 days
2014-09-22 11:54:13 +00:00
..
2014-08-26 22:39:24 +00:00
2013-06-15 20:29:07 +00:00
2012-01-07 16:10:32 +00:00
2013-10-22 06:53:01 +00:00
2014-03-14 02:58:48 +00:00
2013-12-03 04:32:02 +00:00
2013-05-10 13:57:44 +00:00
2012-07-13 06:46:09 +00:00
rpc
2013-12-03 04:03:19 +00:00
2013-12-13 22:58:57 +00:00