mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
move windowkeys to service file
This commit is contained in:
parent
a9ce1860b4
commit
48f4a7f329
3 changed files with 11 additions and 2 deletions
|
@ -140,8 +140,6 @@ if [[ "${TTY}" = "tty1" ]] ; then
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
# enable super keys console support
|
||||
loadkeys windowkeys
|
||||
if [[ -e /usr/bin/setup ]]; then
|
||||
_local_mode
|
||||
# wait on user interaction!
|
||||
|
|
|
@ -140,6 +140,7 @@ build ()
|
|||
add_file "/usr/share/archboot/base/etc/systemd/system/getty@.service" "/etc/systemd/system/getty@.service"
|
||||
add_file "/usr/share/archboot/base/etc/systemd/system/serial-getty@.service" "/etc/systemd/system/serial-getty@.service"
|
||||
add_file "/usr/share/archboot/base/etc/systemd/system/systemd-sysusers.service" "/etc/systemd/system/systemd-sysusers.service"
|
||||
add_file "/usr/share/archboot/base/etc/systemd/system/windowkeys.service" "/etc/systemd/system/windowkeys.service"
|
||||
add_file "/usr/share/archboot/base/etc/systemd/journald.conf.d/fw-tty12.conf" "/etc/systemd/journald.conf.d/fw-tty12.conf"
|
||||
### disable systemd mounts:
|
||||
# disable configfs, debugfs, fuse, hugepages, mqueue and tracefs
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Load windowkeys on console
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=No
|
||||
ExecStart=loadkeys windowkeys
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue