fix check

This commit is contained in:
Tobias Powalowski 2022-11-28 14:48:07 +01:00
parent 86d413bc3c
commit fb9fe95d9a

View file

@ -3,7 +3,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'))"
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