move windowkeys to service file

This commit is contained in:
Tobias Powalowski 2023-09-18 11:34:56 +02:00
parent a9ce1860b4
commit 48f4a7f329
3 changed files with 11 additions and 2 deletions

View file

@ -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!

View file

@ -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

View file

@ -0,0 +1,10 @@
[Unit]
Description=Load windowkeys on console
[Service]
Type=simple
RemainAfterExit=No
ExecStart=loadkeys windowkeys
[Install]
WantedBy=multi-user.target