1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-22 11:19:45 +01:00

Add an optional service for switching the console font

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-09-12 18:44:29 +02:00
parent ce7c79a639
commit 5b78d4d695
3 changed files with 10 additions and 1 deletions

View file

@ -86,6 +86,8 @@ For the shutdown and reboot targets, the following services are executed:
* agetty - A parameterizeable, respawn type `agetty` service. The first
parameter is the terminal device that the getty should run on.
* consolefont - If enabled, run once before sysinit. Sets the console font
to the first parameter.
* dhcpcdmaster - If one or more network interfaces should be configured using
dhcpcd, this service starts a central `dhcpcd` master instance.
* dhcpcd - A parameterizeable single shot service that signals the `dhcpcd`

View file

@ -8,7 +8,7 @@ init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
init_DATA += services/dnsmasq services/ifdown services/modules
init_DATA += services/network services/hostapd services/swclock
init_DATA += services/swclocksave services/nft services/sigkill
init_DATA += services/sshd services/sshd_keygen
init_DATA += services/sshd services/sshd_keygen services/consolefont
if USYSLOGD
init_DATA += services/usyslogd
@ -23,3 +23,4 @@ EXTRA_DIST += services/hwclock services/loopback services/klogd
EXTRA_DIST += services/sync services/sysctl services/tmpfs
EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound
EXTRA_DIST += services/usyslogd services/dnsmasq services/network
EXTRA_DIST += services/consolefont

6
services/consolefont Normal file
View file

@ -0,0 +1,6 @@
description set console font
type once
target boot
before sysinit
after vfs
exec setfont %0