aboutsummaryrefslogtreecommitdiff
path: root/init.d/keymaps.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-11-06 16:34:14 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-11-07 08:55:44 -0600
commit7eb3975543eafd44c6946ca5a76812aa0d7a7303 (patch)
tree5b8e855a6a14f51af20873bfc8ae1ec19416702b /init.d/keymaps.in
parent60e60dc9bbf0e3a18d897861367d9289ae8006d6 (diff)
Create save-keymaps and save-ktermencoding services
These services represent the parts of the keymaps and termencoding services which saved the settings back to the root file system so they can be loaded very early in the boot process. These are needed to allow keymaps and termencoding to run earlier in the boot sequence. X-Gentoo-Bug: 446018 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=446018
Diffstat (limited to 'init.d/keymaps.in')
-rw-r--r--init.d/keymaps.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/init.d/keymaps.in b/init.d/keymaps.in
index 4bece821..16ddcc96 100644
--- a/init.d/keymaps.in
+++ b/init.d/keymaps.in
@@ -14,7 +14,7 @@ description="Applies a keymap for the consoles."
depend()
{
need termencoding
- after bootmisc clock
+ after devfs
keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
}
@@ -68,10 +68,5 @@ start()
echo "altgr keycode 18 = U+20AC" | loadkeys -q -
eend $?
fi
-
- # Save the keymapping for use immediately at boot
- if checkpath -W "$RC_LIBEXECDIR"; then
- mkdir -p "$RC_LIBEXECDIR"/console
- dumpkeys >"$RC_LIBEXECDIR"/console/keymap
- fi
+ return 0
}