summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsolsTiCe d'Hiver <solstice.dhiver@gmail.com>2023-08-11 17:05:14 +0200
committersolsTiCe d'Hiver <solstice.dhiver@gmail.com>2023-08-11 23:57:16 +0200
commit4abc5420b229d898f1e7b82f39a7338468446bbe (patch)
tree710db10286fcd2bc3e5470a9133d0e7f181fdaeb
parent3c6ec03faea32742161e0be693e4f9496ad417de (diff)
Fix for FS#65148, consolefont hook does not change font with a quiet boot
This is a work-around that displays a character on screen and delete it, right away, to activate the screen somehow
-rw-r--r--hooks/consolefont6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/consolefont b/hooks/consolefont
index 1c544c5..7f0873d 100644
--- a/hooks/consolefont
+++ b/hooks/consolefont
@@ -4,10 +4,16 @@
run_hook() {
if [ -e /consolefont.psfu ]; then
msg -n ":: Loading console font..."
+ # Supported in ash
+ # shellcheck disable=SC3036
+ echo -en "a\010 \010"
setfont -C /dev/console /consolefont.psfu
msg "done."
elif [ -e /consolefont.psf ]; then
msg -n ":: Loading console font..."
+ # Supported in ash
+ # shellcheck disable=SC3036
+ echo -en "a\010 \010"
setfont -C /dev/console /consolefont.psf
msg "done."
else