mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
init: don't set consolefont
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
b64fef438b
commit
aa46dfbaa5
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user