diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 7636b91322..57992f478f 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -367,6 +367,18 @@ load_modules() { done } +set_consolefont() { + local vres + + progress "Set console font" + if [ -e /dev/fb0 ]; then + vres="$(fbset 2>/dev/null | awk '/geometry/ { print $3 }')" + if [ $vres -gt 1080 ]; then + setfont -C /dev/tty0 ter-v32b.psf + fi + fi +} + load_splash() { local set_default_res=no local vres @@ -1058,6 +1070,7 @@ debug_msg "Unique identifier for this client: ${MACHINE_UID:-NOT AVAILABLE}" # main boot sequence for BOOT_STEP in \ load_modules \ + set_consolefont \ check_disks \ mount_flash \ update_bootmenu \