summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage31/data
diff options
context:
space:
mode:
authorJonathan Bauer2020-08-06 17:05:21 +0200
committerJonathan Bauer2020-08-06 17:05:21 +0200
commit4315501a6bf607b09e9ce91865cc9f678fea2492 (patch)
treefd2a857df05c6481f501a17f95b49f43f602ea32 /core/rootfs/rootfs-stage31/data
parentMerge branch 'master' into installer (diff)
parentMerge branch 'master' of git.openslx.org:openslx-ng/mltk into master (diff)
downloadmltk-4315501a6bf607b09e9ce91865cc9f678fea2492.tar.gz
mltk-4315501a6bf607b09e9ce91865cc9f678fea2492.tar.xz
mltk-4315501a6bf607b09e9ce91865cc9f678fea2492.zip
Merge branch 'master' into installer
Diffstat (limited to 'core/rootfs/rootfs-stage31/data')
-rwxr-xr-xcore/rootfs/rootfs-stage31/data/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init
index 818b097c..4b6d911d 100755
--- a/core/rootfs/rootfs-stage31/data/init
+++ b/core/rootfs/rootfs-stage31/data/init
@@ -130,8 +130,8 @@ if [ "$SPLASH" -eq 1 ]; then
ppm_width="${ppm_size%% *}"
ppm_height="${ppm_size#* }"
ppm_height="${ppm_height%% *}" # make sure nothing weird is trailing
- img_top="$(( ( screen_width - ppm_width ) / 2 ))"
- img_left="$(( ( screen_height - ppm_height ) / 2 ))"
+ img_left="$(( ( screen_width - ppm_width ) / 2 ))"
+ img_top="$(( ( screen_height - ppm_height ) / 2 ))"
# just checking if nothing too weird is set
if [ -n "$img_left" ] && [ -n "$img_top" ] \
&& [ "$img_left" -ge 0 ] && [ "$img_left" -lt 8096 ] \