diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-09-12 18:44:29 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-09-12 18:44:29 +0200 |
commit | 5b78d4d695cf0f0eb09e2ee3c96be31250611534 (patch) | |
tree | 60d5e83149b59507d5c0d25ebfeb0b014434658f | |
parent | ce7c79a639022f241e10f6130956b3256ef7fd98 (diff) |
Add an optional service for switching the console font
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r-- | docs/defconfig.md | 2 | ||||
-rw-r--r-- | services/Makemodule.am | 3 | ||||
-rw-r--r-- | services/consolefont | 6 |
3 files changed, 10 insertions, 1 deletions
diff --git a/docs/defconfig.md b/docs/defconfig.md index 41afc02..cdfe333 100644 --- a/docs/defconfig.md +++ b/docs/defconfig.md @@ -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` diff --git a/services/Makemodule.am b/services/Makemodule.am index 5e38eca..0cea6ff 100644 --- a/services/Makemodule.am +++ b/services/Makemodule.am @@ -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 diff --git a/services/consolefont b/services/consolefont new file mode 100644 index 0000000..1584db9 --- /dev/null +++ b/services/consolefont @@ -0,0 +1,6 @@ +description set console font +type once +target boot +before sysinit +after vfs +exec setfont %0 |