summaryrefslogtreecommitdiff
path: root/recipes/keymaps/files/jornada6xx/keymap
blob: 6d871f01b63cea2778f04cd74b3717d600a3e7f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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