Commit 42431350 authored by Tom Gundersen's avatar Tom Gundersen Committed by Lennart Poettering
Browse files

vconsole: set keyboard mapping and font settings on Arch

These variables are defined in /etc/rc.conf
parent b56e5747
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment