summaryrefslogtreecommitdiff
path: root/packages/initscripts
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-01-19 08:01:27 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-19 08:01:27 +0000
commit1cc1ef0d642e9769a8e05346aa46de921aab188e (patch)
tree9ce6f6b5d86f3615656edc82611a717617f3d1a4 /packages/initscripts
parent21dba189358012ec7d24bb0bfb15e2d3310412f5 (diff)
initscripts: Add support for keymap extensions to /etc/init.d/keymap
Diffstat (limited to 'packages/initscripts')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/keymap8
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/keymap b/packages/initscripts/initscripts-1.0/keymap
index 792a31d6da..6ebc634266 100755
--- a/packages/initscripts/initscripts-1.0/keymap
+++ b/packages/initscripts/initscripts-1.0/keymap
@@ -6,3 +6,11 @@ KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2`
if [ -e /etc/keymap-$KERNEL_MAJMIN.map ]; then
loadkeys /etc/keymap-$KERNEL_MAJMIN.map
fi
+
+if ( ls "/etc" | grep -q "keymap-extension-${KERNEL_MAJMIN}" )
+then
+ for extension in `ls -1 /etc/keymap-extension-$KERNEL_MAJMIN*`
+ do
+ loadkeys "$extension"
+ done
+fi
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 4bdd918a59..02a765927e 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -6,7 +6,7 @@ DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r60"
+PR = "r61"
SRC_URI = "file://halt \
file://ramdisk \