diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2010-11-29 14:42:10 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-11-29 17:07:41 +0100 |
commit | f5c88ec1330b61787441156de7d764a140774bd2 (patch) | |
tree | 4e066f0bbaf3a7431706aa20ee5b164819105703 /src/vconsole-setup.c | |
parent | 3d428115cf27d22e93faa988109f765dfcd600b9 (diff) |
build-sys: frugalware linux support
Diffstat (limited to 'src/vconsole-setup.c')
-rw-r--r-- | src/vconsole-setup.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vconsole-setup.c b/src/vconsole-setup.c index 27e417886c..d05c277ad9 100644 --- a/src/vconsole-setup.c +++ b/src/vconsole-setup.c @@ -267,6 +267,19 @@ int main(int argc, char **argv) { log_warning("Failed to read /etc/rc.conf: %s", strerror(-r)); } +#elif defined(TARGET_FRUGALWARE) + if ((r = parse_env_file("/etc/sysconfig/keymap", NEWLINE, + "keymap", &vc_keymap, + NULL)) < 0) { + if (r != -ENOENT) + log_warning("Failed to read /etc/sysconfig/keymap: %s", strerror(-r)); + } + if ((r = parse_env_file("/etc/sysconfig/font", NEWLINE, + "font", &vc_font, + NULL)) < 0) { + if (r != -ENOENT) + log_warning("Failed to read /etc/sysconfig/font: %s", strerror(-r)); + } #elif defined(TARGET_GENTOO) if ((r = parse_env_file("/etc/rc.conf", NEWLINE, "unicode", &vc_unicode, |