summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Linderud <morten@linderud.pw>2023-08-12 13:34:50 +0200
committerMorten Linderud <morten@linderud.pw>2023-08-12 13:34:50 +0200
commitffae4b4821aa7d12271165cacf87d6772c70a8b4 (patch)
treebf55d469e2107d11066499866a8ff018165462cf
parentb62ddd5cca7646e9ccb5f7a0069b95e954bcc51e (diff)
parent4abc5420b229d898f1e7b82f39a7338468446bbe (diff)
Merge remote-tracking branch 'origin/merge-requests/255'
* origin/merge-requests/255: Fix for FS#65148, consolefont hook does not change font with a quiet boot
-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