aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/keymaps
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-14 14:12:38 +0000
committerRoy Marples <roy@marples.name>2007-12-14 14:12:38 +0000
commit9f2403dffae514dca431828014a2dc9c9de4e61f (patch)
treebc1bd6ae83589f729a3bf7ca6d5ab592cbec56fd /init.d.Linux/keymaps
parenta3db3bac6242ff29871161620d0449125b3262aa (diff)
Remove Gentoo copyright from all files that I know I have written
Diffstat (limited to 'init.d.Linux/keymaps')
-rwxr-xr-xinit.d.Linux/keymaps18
1 files changed, 6 insertions, 12 deletions
diff --git a/init.d.Linux/keymaps b/init.d.Linux/keymaps
index 2960fee7..014024b5 100755
--- a/init.d.Linux/keymaps
+++ b/init.d.Linux/keymaps
@@ -1,5 +1,4 @@
#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
# Copyright 2007 Roy Marples
# All rights reserved
@@ -74,18 +73,13 @@ start() {
fi
ebegin "Loading key mappings"
- if [ -x /bin/loadkeys ]; then
- yesno ${windowskeys} && wkeys="windowkeys"
- loadkeys -q ${loadkeys_uni} ${wkeys} ${keymap} ${extended_keymaps}
- eend $? "Error loading key mappings"
+ yesno ${windowskeys} && wkeys="windowkeys"
+ loadkeys -q ${loadkeys_uni} ${wkeys} ${keymap} ${extended_keymaps}
+ eend $? "Error loading key mappings" || return $?
- if yesno ${fix_euro}; then
- # Fix some fonts displaying the Euro, #173528.
- echo "altgr keycode 18 = U+20AC" | loadkeys -q
- fi
- else
- eend 1 "/bin/loadkeys not found"
- return 1
+ if yesno ${fix_euro}; then
+ # Fix some fonts displaying the Euro, #173528.
+ echo "altgr keycode 18 = U+20AC" | loadkeys -q
fi
# Set terminal encoding to either ASCII or UNICODE.