summarylogtreecommitdiffstats
path: root/initrd-numlock.service
blob: d3f52a52e81419402ed406f3a538f183e37ed57c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Enable numlock during early userspace
AssertPathExists=/etc/initrd-release
AssertPathExists=/dev/tty0
DefaultDependencies=no
Before=cryptsetup-pre.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/setleds -D +num
StandardInput=file:/dev/tty0