From 2c986c4007d0b683280008e946e5f476ae12d313 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 18 Nov 2023 21:18:12 +0100 Subject: [PATCH] fix modes file path --- usr/bin/archboot-detect-vconsole.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-detect-vconsole.sh b/usr/bin/archboot-detect-vconsole.sh index 209686dc6..782dd31a9 100755 --- a/usr/bin/archboot-detect-vconsole.sh +++ b/usr/bin/archboot-detect-vconsole.sh @@ -5,7 +5,7 @@ # by Tobias Powalowski # udevadm settle -FB_SIZE="$(cut -d 'x' -f 1 "$(find /sys -wholename '/sys/class/graphics/fb0/modes')" 2>/dev/null | sed -e 's#.*:##g')" +FB_SIZE="$(cut -d 'x' -f 1 /sys/class/graphics/fb0/modes 2>/dev/null | sed -e 's#.*:##g')" if [[ "${FB_SIZE}" -gt '1900' ]]; then SIZE="32" else