summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/keymap
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts-1.0/keymap')
-rw-r--r--packages/initscripts/initscripts-1.0/keymap8
1 files changed, 8 insertions, 0 deletions
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