Bug #807
closedCannot set the keymap to anything other then the default
0%
Description
(from cvstrac)
Cannot set the keymap to anything other than the default. This is mainly because /etc/rc.d/syscons is never run so I have created the following patch for my system.
The patch works by first setting the keymap value in the new file "/var/etc/rc.conf.user" this has been placed in /var/etc to make sure it survives after an upgrade.
The new file is then run from the end of /etc/defaults/rc.conf this also enables the ability to override any default settings.
Secondly once the keymap is set correctly "/etc/rc.d/syscons start" needs to be executing this is done in "/etc/rc" just after the
keyboard has been set.
(The diff is also attached in .txt file.)
diff urN org/etc/defaults/rc.conf new/etc/defaults/rc.conf org/etc/defaults/rc.conf 2008-09-05 13:04:46.000000000 0100
--
++ new/etc/defaults/rc.conf 2008-09-05 12:57:48.000000000 0100@ -629,3 +629,10
@
done
}
fi
# if rc.conf.user file exists load its setting
+if [ -e /var/etc/rc.conf.user ]; then
. /var/etc/rc.conf.user
fi
diff urN org/etc/rc new/etc/rc org/etc/rc 2008-09-05 13:03:23.000000000 0100
--
++ new/etc/rc 2008-09-05 12:59:18.000000000 +0100@ -207,6 +207,9
@
[ -c "/dev/ukbd0" ] && kbdcontrol -a ukbd0 < /dev/console
fi
/etc/rc.d/syscons start
+
- Fire up unionfs if mount points exist.
if [f /dist/uniondirs ]; thenorg/var/etc/rc.conf.user 1970-01-01 01:00:00.000000000 +0100
echo -n "."
diff -urN org/var/etc/rc.conf.user new/var/etc/rc.conf.user
--
++ new/var/etc/rc.conf.user 2008-09-05 13:17:54.000000000 +0100 @ -0,0 +1,5
@
# This file is included at the end of /etc/defaults/rc.conf
# place any overrides you require here.
# eg. to change to a uk keyboard uncomment the line below
# keymap="uk.iso"