From 758d2e63839218d68b1a78a9571a263f58640a2d Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 13 Dec 2019 22:59:46 +0300 Subject: get keymap settings, see baselayout --- lib/init/rc.boot | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/init/rc.boot b/lib/init/rc.boot index 5489b9e..b5b8782 100755 --- a/lib/init/rc.boot +++ b/lib/init/rc.boot @@ -144,6 +144,11 @@ main() { printf '%s\n' "${hostname:-carbs-linux}" > /proc/sys/kernel/hostname } 2>/dev/null + log "Getting keymap settings..."; { + [ -r "/etc/keymap" ] && . /etc/keymap + [ -n "$KEYMAP" ] && loadkmap < "$KEYMAP" + } + log "Loading sysctl settings..."; { find /run/sysctl.d \ /etc/sysctl.d \ -- cgit v1.2.3