From b7428fd6e3d356db9f19ef32db58a0f291888887 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 23 Feb 2022 10:58:45 +0200 Subject: [PATCH] Update mips_run.py --- NeoBoot/tmpfiles/runpy/mips_run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NeoBoot/tmpfiles/runpy/mips_run.py b/NeoBoot/tmpfiles/runpy/mips_run.py index cf5a29b..05cc3af 100644 --- a/NeoBoot/tmpfiles/runpy/mips_run.py +++ b/NeoBoot/tmpfiles/runpy/mips_run.py @@ -109,6 +109,8 @@ class StartImage(Screen): if fileExists('/media/InternalFlash/etc/init.d/neobootmount.sh'): os.system('rm -f /media/InternalFlash/etc/init.d/neobootmount.sh;') if (getSupportedTuners()): + if fileExists('%sImageBoot/%s/squashfs-images' % (getNeoLocation(), getImageNeoBoot())): + os.system('ln -sf "%sImageBoot/%s/squashfs-images" "//squashfs-images"' % (getNeoLocation(), getImageNeoBoot())) if getImageNeoBoot() == 'Flash': cmd = 'ln -sfn /sbin/init.sysvinit /sbin/init' rc = os.system(cmd)