summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-08 23:47:58 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-08 23:47:58 +0200
commit78ebdba045f0dda699f0edab1bdbdb637bbf019b (patch)
treee59db3e45ac8a5aa4323934514ca7714bd215d74
parent9114900c15b343c2e5585abe34d0e259f8d86478 (diff)
downloadmkinitcpio-78ebdba045f0dda699f0edab1bdbdb637bbf019b.tar.gz
mkinitcpio-78ebdba045f0dda699f0edab1bdbdb637bbf019b.tar.xz
Formatting fixes
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@87 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--hooks/keymap12
-rw-r--r--install/keymap5
2 files changed, 9 insertions, 8 deletions
diff --git a/hooks/keymap b/hooks/keymap
index d00df9b..414338b 100644
--- a/hooks/keymap
+++ b/hooks/keymap
@@ -4,18 +4,18 @@ run_hook ()
msg -n ":: Loading keymap..."
. /keymap
if [ "$KEYMAP" != "" ]; then
- /bin/loadkeys -q $KEYMAP
+ /bin/loadkeys -q $KEYMAP
fi
# If locale is *.utf set console to Unicode mode
if [ "$UTF8" = "yes" ]; then
- /bin/kbd_mode -u
- /bin/dumpkeys | /bin/loadkeys --unicode
- echo -ne "\e%G" >> /dev/console
+ /bin/kbd_mode -u
+ /bin/dumpkeys | /bin/loadkeys --unicode
+ echo -ne "\e%G" >> /dev/console
fi
if [ "$CONSOLEMAP" != "" ]; then
- /bin/setfont -m $CONSOLEMAP $CONSOLEFONT -C /dev/console
+ /bin/setfont -m $CONSOLEMAP $CONSOLEFONT -C /dev/console
else
- /bin/setfont $CONSOLEFONT -C /dev/console
+ /bin/setfont $CONSOLEFONT -C /dev/console
fi
msg "done."
}
diff --git a/install/keymap b/install/keymap
index 03c5a98..650e071 100644
--- a/install/keymap
+++ b/install/keymap
@@ -22,8 +22,9 @@ install ()
[ "$CONSOLEFONT" != "" ] && add_file /usr/share/kbd/consolefonts/$(grep "CONSOLEFONT=" /etc/rc.conf | awk -FCONSOLEFONT= '{print $2}')*
[ "$CONSOLEMAP" != "" ] && add_file /usr/share/kbd/unimaps/$(grep "CONSOLEMAP=" /etc/rc.conf | awk -FCONSOLEMAP= '{print $2}')*
if [ "$KEYMAP" != "" ]; then
- for i in $(find /usr/share/kbd/ -name "$(grep "KEYMAP=" /etc/rc.conf | awk -FKEYMAP= '{print $2}' | awk -F- '{print $1}')*.map.gz")
- do add_file $i
+ for i in $(find /usr/share/kbd/ -name "$(grep "KEYMAP=" /etc/rc.conf |\
+ awk -FKEYMAP= '{print $2}' | awk -F- '{print $1}')*.map.gz"); do
+ add_file $i
done
for i in $(echo /usr/share/kbd/keymaps/include/*); do
add_file $i