summaryrefslogtreecommitdiff
path: root/packages/initscripts
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-22 10:32:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-22 10:32:10 +0000
commit6d68b30b2e7e6fa9b1349578a3aa9725ed7882ca (patch)
tree595965c5d2616931a60aee388a5e2cca04d823a2 /packages/initscripts
parent70a456d4bce1993048edd449e92b0aaa2535784d (diff)
nitscripts: solve the keymap situation in a more generic way to reduce maintenance load
the keymap script is now always installed and checks if there is a matching keymap in /etc General note: this package is a bit monolithic, we may eventually come to a more fine granular build solution, e.g. a (build-time) table where distributions can specify which initscripts they want to appear in the final image.
Diffstat (limited to 'packages/initscripts')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/akita/keymap2
-rw-r--r--packages/initscripts/initscripts-1.0/akita/keymap-2.4.map (renamed from packages/initscripts/initscripts-1.0/akitakeymap.map)0
-rwxr-xr-xpackages/initscripts/initscripts-1.0/c7x0/keymap5
-rw-r--r--[-rwxr-xr-x]packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map (renamed from packages/initscripts/initscripts-1.0/corgikeymap-2.6.map)0
-rw-r--r--packages/initscripts/initscripts-1.0/keymap8
-rw-r--r--packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map128
-rw-r--r--packages/initscripts/initscripts-1.0/tosa/keymap5
-rw-r--r--packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map (renamed from packages/initscripts/initscripts-1.0/tosakeymap-2.6.map)0
8 files changed, 136 insertions, 12 deletions
diff --git a/packages/initscripts/initscripts-1.0/akita/keymap b/packages/initscripts/initscripts-1.0/akita/keymap
deleted file mode 100755
index 641a3a938d..0000000000
--- a/packages/initscripts/initscripts-1.0/akita/keymap
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-loadkeys /etc/akitakeymap.map
diff --git a/packages/initscripts/initscripts-1.0/akitakeymap.map b/packages/initscripts/initscripts-1.0/akita/keymap-2.4.map
index 7efbccedd8..7efbccedd8 100644
--- a/packages/initscripts/initscripts-1.0/akitakeymap.map
+++ b/packages/initscripts/initscripts-1.0/akita/keymap-2.4.map
diff --git a/packages/initscripts/initscripts-1.0/c7x0/keymap b/packages/initscripts/initscripts-1.0/c7x0/keymap
deleted file mode 100755
index 6f4a8cdc87..0000000000
--- a/packages/initscripts/initscripts-1.0/c7x0/keymap
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-if [ `uname -r | cut -d '.' -f 1,2` != "2.4" ]; then
- loadkeys /etc/corgikeymap-2.6.map
-fi \ No newline at end of file
diff --git a/packages/initscripts/initscripts-1.0/corgikeymap-2.6.map b/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map
index 5b576ecc93..5b576ecc93 100755..100644
--- a/packages/initscripts/initscripts-1.0/corgikeymap-2.6.map
+++ b/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map
diff --git a/packages/initscripts/initscripts-1.0/keymap b/packages/initscripts/initscripts-1.0/keymap
new file mode 100644
index 0000000000..792a31d6da
--- /dev/null
+++ b/packages/initscripts/initscripts-1.0/keymap
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# load keymap, if existing
+
+KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2`
+if [ -e /etc/keymap-$KERNEL_MAJMIN.map ]; then
+ loadkeys /etc/keymap-$KERNEL_MAJMIN.map
+fi
diff --git a/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map b/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map
new file mode 100644
index 0000000000..7efbccedd8
--- /dev/null
+++ b/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map
@@ -0,0 +1,128 @@
+keymaps 0-2,4-5
+keycode 1 = +a +A +a Control_a Control_a
+keycode 2 = +b +B underscore Control_b Control_b
+keycode 3 = +c +C +c Control_c Control_c
+keycode 4 = +d +D +d Control_d Control_d
+keycode 5 = +e +E equal Control_e Control_e
+keycode 6 = +f +F backslash Control_f Control_f
+keycode 7 = +g +G semicolon Control_g Control_g
+keycode 8 = +h +H colon BackSpace BackSpace
+keycode 9 = +i +I +i Tab Tab
+keycode 10 = +j +J asterisk Linefeed Linefeed
+keycode 11 = +k +K backslash Control_k Control_k
+keycode 12 = +l +L bar Control_l Control_l
+keycode 13 = +m +M +m Control_m Control_m
+keycode 14 = +n +N +n Control_n Control_n
+keycode 15 = +o +O +o Control_o Control_o
+keycode 16 = +p +P +p Control_p Control_p
+keycode 17 = +q +Q +q Control_q Control_q
+keycode 18 = +r +R plus Control_r Control_r
+keycode 19 = +s +S +s Control_s Control_s
+keycode 20 = +t +T bracketleft Control_t Control_t
+keycode 21 = +u +U +u Control_u Control_u
+keycode 22 = +v +V +v Control_v Control_v
+keycode 23 = +w +W asciicircum Control_w Control_w
+keycode 24 = +x +X +x Control_x Control_x
+keycode 25 = +y +Y bracketright Control_y Control_y
+keycode 26 = +z +Z +z Control_z Control_z
+keycode 27 = Shift Shift Shift Shift Shift
+keycode 28 = Return Return Return Return Return
+keycode 29 = F11 F11 F11 F11 F11
+keycode 30 = AltGr AltGr AltGr AltGr AltGr
+keycode 31 = BackSpace BackSpace Delete BackSpace BackSpace
+keycode 32 = Num_Lock Num_Lock Num_Lock Num_Lock Num_Lock
+keycode 33 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 34 = Escape Escape Escape Escape Escape
+keycode 35 = Left Left Home Left Left
+keycode 36 = Up Up PageUp Up Up
+keycode 37 = Down Down PageDown Down Down
+keycode 38 = Right Right End Right Right
+keycode 39 = Return Return Return Return Return
+keycode 40 = F12 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 41 = one exclam VoidSymbol VoidSymbol VoidSymbol
+keycode 42 = two quotedbl VoidSymbol VoidSymbol VoidSymbol
+keycode 43 = three numbersign VoidSymbol VoidSymbol VoidSymbol
+keycode 44 = four dollar VoidSymbol VoidSymbol VoidSymbol
+keycode 45 = five percent VoidSymbol VoidSymbol VoidSymbol
+keycode 46 = six ampersand VoidSymbol VoidSymbol VoidSymbol
+keycode 47 = seven apostrophe VoidSymbol VoidSymbol VoidSymbol
+keycode 48 = eight parenleft VoidSymbol VoidSymbol VoidSymbol
+keycode 49 = nine parenright VoidSymbol VoidSymbol VoidSymbol
+keycode 50 = zero asciitilde VoidSymbol VoidSymbol VoidSymbol
+keycode 51 = minus equal VoidSymbol VoidSymbol VoidSymbol
+keycode 52 = asciicircum asciitilde VoidSymbol VoidSymbol VoidSymbol
+keycode 53 = backslash bar VoidSymbol VoidSymbol VoidSymbol
+keycode 54 = bracketleft braceleft VoidSymbol VoidSymbol VoidSymbol
+keycode 55 = at grave VoidSymbol VoidSymbol VoidSymbol
+keycode 56 = Control Control Control Control Control
+keycode 57 = Alt Alt Alt Alt Alt
+keycode 58 = Control Control Control Control Control
+keycode 59 = minus at VoidSymbol VoidSymbol VoidSymbol
+keycode 60 = Shift_Lock Shift_Lock Shift_Lock Shift_Lock Shift_Lock
+keycode 61 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 62 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 63 = comma slash less VoidSymbol VoidSymbol
+keycode 64 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 65 = Tab Tab Caps_Lock Tab Tab
+keycode 66 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 67 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 68 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 69 = asciitilde VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 70 = slash VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 71 = KP_1 KP_1 KP_1 KP_1 KP_1
+keycode 72 = KP_2 KP_2 KP_2 KP_2 KP_2
+keycode 73 = KP_3 KP_3 KP_3 KP_3 KP_3
+keycode 74 = KP_4 KP_4 KP_4 KP_4 KP_4
+keycode 75 = KP_5 KP_5 KP_5 KP_5 KP_5
+keycode 76 = KP_6 KP_6 KP_6 KP_6 KP_6
+keycode 77 = KP_7 KP_7 KP_7 KP_7 KP_7
+keycode 78 = KP_8 KP_8 KP_8 KP_8 KP_8
+keycode 79 = KP_9 KP_9 KP_9 KP_9 KP_9
+keycode 80 = KP_0 KP_0 KP_0 KP_0 KP_0
+keycode 81 = Delete Delete Delete Delete Delete
+keycode 82 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide
+keycode 83 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply
+keycode 84 = Return Return Return Return Return
+keycode 85 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract
+keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add
+keycode 87 = KP_Enter KP_Enter KP_Enter KP_Enter KP_Enter
+keycode 88 = F9 F9 F9 F9 F9
+keycode 89 = F10 F10 F10 F10 F10
+keycode 90 = F13 F13 F13 F13 F13
+keycode 91 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 92 = space space space space space
+keycode 93 = KP_Period KP_Period KP_Period KP_Period KP_Period
+keycode 94 = Escape Escape Escape Escape
+keycode 95 = semicolon plus VoidSymbol VoidSymbol VoidSymbol
+keycode 96 = colon asterisk VoidSymbol VoidSymbol VoidSymbol
+keycode 97 = bracketright braceright VoidSymbol VoidSymbol VoidSymbol
+keycode 98 = comma less VoidSymbol VoidSymbol VoidSymbol
+keycode 99 = period greater VoidSymbol VoidSymbol VoidSymbol
+keycode 100 = slash question VoidSymbol VoidSymbol VoidSymbol
+keycode 101 = underscore underscore VoidSymbol VoidSymbol VoidSymbol
+keycode 102 = F15 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 103 = period question greater VoidSymbol VoidSymbol
+keycode 104 = Find Find Find Find Find
+keycode 105 = Select Select Select Select Select
+keycode 106 = Prior Scroll_Backward Prior Prior Prior
+keycode 107 = Next Scroll_Forward Next Next Next
+keycode 108 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 109 = F31 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 110 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 111 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 112 = Shift Shift Shift Shift Shift
+keycode 113 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 114 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 115 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 116 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 117 = Control Control Control Control Control
+keycode 118 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 119 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 120 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 121 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 122 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 123 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 124 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
+keycode 125 = Up Up Up Up
+keycode 126 = Down Down Down Down
+keycode 127 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
diff --git a/packages/initscripts/initscripts-1.0/tosa/keymap b/packages/initscripts/initscripts-1.0/tosa/keymap
deleted file mode 100644
index 656a28dc7b..0000000000
--- a/packages/initscripts/initscripts-1.0/tosa/keymap
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-if [ `uname -r | cut -d '.' -f 1,2` != "2.4" ]; then
- loadkeys /etc/tosakeymap-2.6.map
-fi
diff --git a/packages/initscripts/initscripts-1.0/tosakeymap-2.6.map b/packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map
index ac43471326..ac43471326 100644
--- a/packages/initscripts/initscripts-1.0/tosakeymap-2.6.map
+++ b/packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map