summaryrefslogtreecommitdiffstats
path: root/core/rootfs
diff options
context:
space:
mode:
authorJonathan Bauer2020-08-12 22:31:16 +0200
committerJonathan Bauer2020-08-12 22:31:16 +0200
commit90fc0b840373dbf49ffc1dcd9220a1d3e0cb96bc (patch)
tree5c31cfe8d6e36dc648c7f7866e3359149de8299e /core/rootfs
parent[xorg] I swear this worked yesterday (diff)
downloadmltk-90fc0b840373dbf49ffc1dcd9220a1d3e0cb96bc.tar.gz
mltk-90fc0b840373dbf49ffc1dcd9220a1d3e0cb96bc.tar.xz
mltk-90fc0b840373dbf49ffc1dcd9220a1d3e0cb96bc.zip
[rootfs-stage31] fix awk regex for fbsplash
Diffstat (limited to 'core/rootfs')
-rwxr-xr-xcore/rootfs/rootfs-stage31/data/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init
index 706482e5..7e1bcf21 100755
--- a/core/rootfs/rootfs-stage31/data/init
+++ b/core/rootfs/rootfs-stage31/data/init
@@ -101,7 +101,7 @@ if [ "$SPLASH" -eq 1 ]; then
MUTED_OUTPUT=1
clear
echo -e "\033[?25l" >&4
- screen_size="$(fbset | awk '$1 = /geometry/ {print $2" "$3}')"
+ screen_size="$(fbset | awk '$1 ~ /geometry/ {print $2" "$3}')"
screen_width="${screen_size%% *}"
screen_height="${screen_size#* }"
fbsplash_cfg="/etc/fbsplash.cfg"