From aa46dfbaa5851290a248fb04a2c6eae401733e09 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 13 Feb 2025 17:13:01 +0100 Subject: [PATCH] init: don't set consolefont Signed-off-by: Matthias Reichl --- packages/sysutils/busybox/scripts/init | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index cff967bf22..96ee59ff53 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -48,8 +48,6 @@ LIVE="no" BREAK_TRIPPED="no" -BIGFONT="1080" - # Get a serial number if present (eg. RPi) otherwise use MAC address from eth0 MACHINE_UID="$(awk '/^Serial/{s='0000000' $3; print substr(s, length(s) - 7)}' /proc/cpuinfo)" [ -z "$MACHINE_UID" ] && MACHINE_UID="$(cat /sys/class/net/eth0/address 2>/dev/null | tr -d :)" @@ -359,18 +357,6 @@ update_bootloader() { fi } -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 "$BIGFONT" ]; then - setfont -C /dev/tty0 ter-v32b.psf - fi - fi -} - load_splash() { local set_default_res=no local vres @@ -1051,9 +1037,6 @@ for arg in $(cat /proc/cmdline); do break=*) BREAK="${arg#*=}" ;; - bigfont=*) - BIGFONT="${arg#*=}" - ;; ip=*) KERNEL_IPCONFIG="yes" ;; @@ -1079,7 +1062,6 @@ debug_msg "Unique identifier for this client: ${MACHINE_UID:-NOT AVAILABLE}" # main boot sequence for BOOT_STEP in \ - set_consolefont \ check_disks \ mount_flash \ cleanup_flash \