Hi,

Recent changes in keymap namning for syscons/vt to use shorter names
has exposed a conflict with the value "no" both used as country code
for Norway and as a default value indicating that no keymap is set.

The attached patch proposes to use "" (empty string) as default value
instead.

Also available here:
http://onyx.thanelange.no/freebsd/patches/syscons.patch

Best regards
Gyrd ^_^
Index: etc/defaults/rc.conf
===================================================================
--- etc/defaults/rc.conf	(revision 271880)
+++ etc/defaults/rc.conf	(working copy)
@@ -531,7 +531,7 @@
 ##############################################################
 
 keyboard=""		# keyboard device to use (default /dev/kbd0).
-keymap="NO"		# keymap in /usr/share/{syscons,vt}/keymaps/* (or NO).
+keymap=""		# keymap in /usr/share/{syscons,vt}/keymaps/* (or empty).
 keyrate="NO"		# keyboard rate to: slow, normal, fast (or NO).
 keybell="NO" 		# See kbdcontrol(1) for options.  Use "off" to disable.
 keychange="NO"		# function keys default values (or NO).
Index: etc/rc.d/syscons
===================================================================
--- etc/rc.d/syscons	(revision 271880)
+++ etc/rc.d/syscons	(working copy)
@@ -167,7 +167,7 @@
 	# keymap
 	#
 	case ${keymap} in
-	[Nn][Oo] | '')
+	'')
 		;;
 	*)
 		sc_init
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to