diff options
Diffstat (limited to 'recipes/keymaps/files/jornada6xx/keymap')
-rwxr-xr-x | recipes/keymaps/files/jornada6xx/keymap | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/keymaps/files/jornada6xx/keymap b/recipes/keymaps/files/jornada6xx/keymap new file mode 100755 index 0000000000..6d871f01b6 --- /dev/null +++ b/recipes/keymaps/files/jornada6xx/keymap @@ -0,0 +1,19 @@ +#!/bin/sh + +echo "Loading Keymap..." + +if [ ! -f "/etc/keymap-default.map" ] +then + # User has not set a default. + # Note that 620/660 machines need a different keymap. + cat /proc/cpuinfo | grep SH7708 >/dev/null + if [ $? = 0 ] + then + loadkeys /etc/keymap-uk-620-660.map + else + loadkeys /etc/keymap-uk.map + fi +else + # User has set a default + loadkeys /etc/keymap-default.map +fi |