summaryrefslogtreecommitdiffstats
path: root/core/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre')
-rwxr-xr-xcore/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre b/core/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre
index 816a73ef..a19854d9 100755
--- a/core/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre
+++ b/core/modules/kexec-reboot/data/opt/openslx/scripts/systemd-kexec_pre
@@ -17,8 +17,8 @@ fi
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 ] \