aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/defconfig.md2
-rw-r--r--services/Makemodule.am3
-rw-r--r--services/consolefont6
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