diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-13 22:59:46 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-13 22:59:46 +0300 |
commit | 758d2e63839218d68b1a78a9571a263f58640a2d (patch) | |
tree | 698da02d715fd1e2618435341fe7b424a38519dd /lib | |
parent | 2a31f7cdd33726deacc97c373d44a1a6bc8d994d (diff) | |
download | init-758d2e63839218d68b1a78a9571a263f58640a2d.tar.gz |
get keymap settings, see baselayout0.1.1
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/init/rc.boot | 5 |
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 \ |