X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fvconsole-setup.c;h=06d9a211911890d712b28663ba9beb052836342b;hp=0f730a0e7eaac8730d15ed3d63a26163a1a41e25;hb=424313503a6813bd78a7e8524668044ab61f3fb3;hpb=b56e57470c92f123044ea690b5404bdd730ddaa6 diff --git a/src/vconsole-setup.c b/src/vconsole-setup.c index 0f730a0e7..06d9a2119 100644 --- a/src/vconsole-setup.c +++ b/src/vconsole-setup.c @@ -199,6 +199,16 @@ int main(int argc, char **argv) { free(vc_keymap); vc_keymap = t; } +#elif defined(TARGET_ARCH) + if ((r = parse_env_file("/etc/rc.conf", NEWLINE, + "KEYMAP", &vc_keymap, + "CONSOLEFONT", &vc_font, + "CONSOLEMAP", &vc_font_map, + NULL)) < 0) { + + if (r != -ENOENT) + log_warning("Failed to read /etc/rc.conf: %s", strerror(-r)); + } #endif /* Override distribution-specific options with the