Bugfix / cusmetic / race condition for scaling enablement (#4221)

This commit is contained in:
Igor Pečovnik 2022-09-23 19:05:45 +02:00 committed by GitHub
parent 47d74f553f
commit 15078ba0a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,8 +313,6 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then
systemctl is-system-running --wait >/dev/null
clear
# enable hiDPI support
if [[ "$(cat /sys/class/graphics/fb0/virtual_size 2>/dev/null | cut -d, -f1)" -gt 1920 ]]; then
# lightdm
@ -324,6 +322,8 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then
setfont /usr/share/consolefonts/Uni3-TerminusBold32x16.psf.gz
fi
clear
echo -e "Welcome to \e[1m\e[97mARMBIAN\x1B[0m! \n"
echo -e "Documentation: \e[1m\e[92mhttps://docs.armbian.com\x1B[0m | Community: \e[1m\e[92mhttps://forum.armbian.com\x1B[0m\n"
GET_IP=$(bash /etc/update-motd.d/30-armbian-sysinfo | grep IP | sed "s/.*IP://" | sed 's/^[ \t]*//')