aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-04 05:40:38 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-04 05:40:38 -0700
commitac48d360b5b456f60ec87556bbf62646f5bcafbb (patch)
tree9c8b50876506958ddc31b430580cd00728846dda /utils
parent89eb9d475b5073863660a489ebf529b5923ee275 (diff)
downloadsyslinux.git-ac48d360b5b456f60ec87556bbf62646f5bcafbb.tar.gz
syslinux.git-ac48d360b5b456f60ec87556bbf62646f5bcafbb.tar.xz
syslinux.git-ac48d360b5b456f60ec87556bbf62646f5bcafbb.zip
keytab-lilo: don't try to be too smart
The keytab-lilo script tried to add pathname and extension, but loadkeys does that better. Therefore, don't try to be smart. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/keytab-lilo6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/keytab-lilo b/utils/keytab-lilo
index 867be7e2..7dbcf94b 100755
--- a/utils/keytab-lilo
+++ b/utils/keytab-lilo
@@ -17,7 +17,7 @@
eval { use bytes; }; eval { binmode STDOUT; };
-$DEFAULT_PATH = "/usr/lib/kbd/keytables";
+$DEFAULT_PATH = "/lib/kbd/keymaps";
$DEFAULT_MAP = "us";
$DEFAULT_EXT = ".map";
@@ -54,8 +54,8 @@ sub load_map
local ($empty,$current);
$map = $DEFAULT_MAP unless defined $map;
- $map = $DEFAULT_PATH."/".$map unless $map =~ m|/|;
- $map .= $DEFAULT_EXT unless $map =~ m|/[^/]+\.[^/]+$|;
+ # $map = $DEFAULT_PATH."/".$map unless $map =~ m|/|;
+ # $map .= $DEFAULT_EXT unless $map =~ m|/[^/]+\.[^/]+$|;
if (!open(FILE,"loadkeys -m $map |")) {
print STDERR "loadkeys -m $map: $!\n";
exit 1;