summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-07-31 23:12:17 +0200
committerMichael Biebl <biebl@debian.org>2013-08-01 00:09:58 +0200
commit4a9e80b3b5d0d3c0cabac01c35db18d95f27c9c1 (patch)
treec0c95276ddc414ced67f17b97ef616387fc0402b
parentb5b7ea750388919eee6087eb63f08903b57447cf (diff)
Add /usr/share/keymaps to localectl supported locations.
This is the standard upstream location where kbd installs keymaps.
-rw-r--r--src/locale/localectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index cd7356a1e1..8259c0af5f 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -538,6 +538,7 @@ static int list_vconsole_keymaps(DBusConnection *bus, char **args, unsigned n) {
if (!keymaps)
return log_oom();
+ nftw("/usr/share/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
nftw("/usr/share/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
nftw("/usr/lib/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
nftw("/lib/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);