diff options
author | Jonathan Bauer | 2020-08-06 17:05:21 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-08-06 17:05:21 +0200 |
commit | 4315501a6bf607b09e9ce91865cc9f678fea2492 (patch) | |
tree | fd2a857df05c6481f501a17f95b49f43f602ea32 /core/rootfs | |
parent | Merge branch 'master' into installer (diff) | |
parent | Merge branch 'master' of git.openslx.org:openslx-ng/mltk into master (diff) | |
download | mltk-4315501a6bf607b09e9ce91865cc9f678fea2492.tar.gz mltk-4315501a6bf607b09e9ce91865cc9f678fea2492.tar.xz mltk-4315501a6bf607b09e9ce91865cc9f678fea2492.zip |
Merge branch 'master' into installer
Diffstat (limited to 'core/rootfs')
-rwxr-xr-x | core/rootfs/rootfs-stage31/data/init | 4 |
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 ] \ |