2020-02-29 18:56:48 +00:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
|
|
|
name="fbkeyboard"
|
|
|
|
command="/usr/bin/fbkeyboard"
|
2022-10-24 09:51:40 +00:00
|
|
|
command_args="-r $(cat /sys/class/graphics/fbcon/rotate) -f /usr/share/fonts/dejavu/DejaVuSans.ttf"
|
2020-02-29 18:56:48 +00:00
|
|
|
pidfile="/var/run/fbkeyboard.pid"
|
|
|
|
command_background=true
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
after consolefont
|
|
|
|
keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
|
|
|
|
}
|
|
|
|
|
|
|
|
start_pre()
|
|
|
|
{
|
|
|
|
# Setup kernel support for user level drivers (input subsystem)
|
|
|
|
if [ ! -e /dev/uinput ]; then
|
|
|
|
if ! modprobe -q uinput; then
|
|
|
|
eerror "The uinput module needs to be loaded by " \
|
|
|
|
"the fbkeyboard service or built in."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|