Skip to contentSkip to conversation

Tighten up the keymap installation case statement in dracut.

PATCH In review initramfs mailing list 1 participant 1 message Feb 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 15/50 Tighten up the keymap installation case statement in dracut.

Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=dce3f50a7d7fd2d82c976bb4d2e412d82bc64208
Commit:     dce3f50a7d7fd2d82c976bb4d2e412d82bc64208
Parent:     3c3e1e0c4941d15cf21353421b0c616ea075d9dc
Author:     Victor Lowther <[email protected]>
AuthorDate: Fri Feb 13 04:42:06 2009 -0800
Committer:  Dave Jones <[email protected]>
CommitDate: Mon Feb 16 13:56:41 2009 -0500

[PATCH 15/50] Tighten up the keymap installation case statement in dracut.

---
 dracut |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
dracut +3 -7
index 8cbe0da..13c254f 100755
@@ -80,13 +80,9 @@ if [[ -f /etc/sysconfig/keyboard || -f /etc/sysconfig/console/default.kmap ]]; t
 
         for FN in $KEYMAPS; do
             inst $FN "$initdir"
-            case "$FN" in
-                *.gz)
-                    gzip -d "$initdir$FN"
-                    ;;
-                *.bz2)
-                    bzip2 -d "$initdir$FN"
-                    ;;
+            case $FN in
+                *.gz) gzip -d "$initdir$FN" ;;
+                *.bz2) bzip2 -d "$initdir$FN" ;;
             esac
         done
     fi

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html