diff --git a/usr/bin/archboot-km.sh b/usr/bin/archboot-km.sh index 1677eebc6..d691128ea 100755 --- a/usr/bin/archboot-km.sh +++ b/usr/bin/archboot-km.sh @@ -42,7 +42,7 @@ do_vconsole() { set_vconsole() { # check for fb size - FB_SIZE="$(cat $(find /sys -wholename '*fb0/modes' | cut -d 'x' -f 1 | sed -e 's#.*:##g'))" + FB_SIZE="$(cat $(find /sys -wholename '*fb0/modes') | cut -d 'x' -f 1 | sed -e 's#.*:##g')" if [[ "${FB_SIZE}" -gt '2000' ]]; then SIZE="32" else diff --git a/usr/lib/archboot/login.sh b/usr/lib/archboot/login.sh index 9a45cb75a..0371971ae 100644 --- a/usr/lib/archboot/login.sh +++ b/usr/lib/archboot/login.sh @@ -4,7 +4,7 @@ _vconsole() { if ! [[ -e "/.vconsole-run" ]]; then touch /.vconsole-run FB_SIZE="$(cat $(find /sys -wholename '*fb0/modes') | cut -d 'x' -f 1 | sed -e 's#.*:##g')" - if [[ "${FB_SIZE}" -gt '2000' ]]; then + if [[ "${FB_SIZE}" -gt '1900' ]]; then SIZE="32" else SIZE="16"