aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-13 22:59:46 +0300
committerCem Keylan <cem@ckyln.com>2019-12-13 22:59:46 +0300
commit758d2e63839218d68b1a78a9571a263f58640a2d (patch)
tree698da02d715fd1e2618435341fe7b424a38519dd
parent2a31f7cdd33726deacc97c373d44a1a6bc8d994d (diff)
downloadinit-758d2e63839218d68b1a78a9571a263f58640a2d.tar.gz
get keymap settings, see baselayout0.1.1
-rwxr-xr-xlib/init/rc.boot5
1 files changed, 5 insertions, 0 deletions
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 \