From 1cc1ef0d642e9769a8e05346aa46de921aab188e Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Thu, 19 Jan 2006 08:01:27 +0000 Subject: initscripts: Add support for keymap extensions to /etc/init.d/keymap --- packages/initscripts/initscripts-1.0/keymap | 8 ++++++++ packages/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3