示例#1
0
    def StartImageInNeoBoot(self):
        if fileExists('/media/neoboot/ImageBoot/%s/.control_ok' %
                      (getImageNeoBoot())):
            system('touch /tmp/.control_ok ')
        else:
            system(
                'touch /media/neoboot/ImageBoot/%s/.control_boot_new_image ' %
                (getImageNeoBoot()))

####################################
        system(
            'chmod 755 /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/*'
        )
        self.sel = self['list'].getCurrent()
        if self.sel:
            self.sel = self.sel[2]
        if self.sel == 0:
            if fileExists('/media/mmc/etc/init.d/neobootmount.sh'):
                os.system('rm -f /media/mmc/etc/init.d/neobootmount.sh;')

            #DM900; Zgemma h7S; AX HD60 4K
            if getCPUSoC(
            ) == 'hi3798mv200' or getBoxHostName == 'ax60' or getCPUSoC(
            ) == '3798mv200' or getBoxHostName() == 'sf8008' or getCPUSoC(
            ) == 'bcm7251s' or getBoxHostName() == 'h7' or getCPUSoC(
            ) == 'BCM97252SSFF' or getBoxHostName() == 'dm900':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        os.system(
                            'cd /media/mmc; ln -sfn /sbin/init.sysvinit /media/mmc/sbin/init; reboot -d -f -h -i'
                        )
                    elif not fileExists('/.multinfo'):
                        os.system(
                            'ln -sfn /sbin/init.sysvinit /sbin/init; reboot -d -f -h -i'
                        )
                elif getImageNeoBoot() != 'Flash':
                    os.system(
                        'ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'
                    )
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że multiboot nie wspiera tego modelu STB !!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #MiracleBox, ET8500, Formuler F1, Formuler F3, Atemio6000 - MIPS                                                                                                                                                                       # test -  ultra, osmini
            elif getCPUtype() != 'ARMv7' and getCPUSoC(
            ) == 'bcm7358' or getCPUSoC() == 'bcm7362' or getCPUSoC(
            ) == 'bcm7356' or getCPUSoC() == 'bcm7241' or getCPUSoC(
            ) == 'bcm7362' or getBoxHostName() == 'mbmini' or getBoxHostName(
            ) == 'h3' or getTunerModel(
            ) == 'ini-1000sv':  #or getBoxHostName == 'mbultra'  or getCPUSoC() == 'BCM7362' or getBoxHostName() == 'osmini'
                if getImageNeoBoot() == 'Flash':
                    self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    cmd = 'ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'
                    self.session.open(Console, _('NeoBoot ....'), [cmd])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że multiboot nie wspiera tego modelu STB !!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #MiracleBox Ultra - MIPS  #Test
            elif getCPUtype() != 'ARMv7' and getCPUSoC(
            ) == 'bcm7424' or getTunerModel() == 'ini-8000sv':

                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/mbultra_dev_mtd2.sh'
                        self.session.open(Console,
                                          _('NeoBoot MiracleBox Ultra...'),
                                          [cmd2])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)

                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz '
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'
                            self.session.open(
                                Console,
                                _('NeoBoot MiracleBox Ultra Rebooting....'),
                                [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'ln -sfn /sbin/neoinitmips /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/mbultra_dev_mtd2.sh'
                            self.session.open(
                                Console, _('NeoBoot MiracleBox Ultra....'),
                                [cmd2])

                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'ln -sfn /sbin/init.sysvinit /sbin/init; opkg install --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxHostName(
                            )
                            self.session.open(
                                Console,
                                _('NeoBoot MiracleBox Ultra Rebooting....'),
                                [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'ln -sfn /sbin/init.sysvinit /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/mbultra_dev_mtd2.sh'
                            self.session.open(
                                Console, _('NeoBoot MiracleBox Ultra....'),
                                [cmd2])

                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że model STB nie jest wpierany przez multiboota!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #Edision OS MINI  - MIPS #Test
            elif getCPUtype() != 'ARMv7' and getCPUSoC(
            ) == 'BCM7362' or getBoxHostName() == 'osmini':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/osmini_dev_mtd0.sh'
                        self.session.open(Console, _('NeoBoot Arm....'),
                                          [cmd2])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'ln -sfn /sbin/neoinitmips /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/osmini_dev_mtd0.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = 'opkg install --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxHostName(
                            )
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxHostName())):
                            cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/osmini_dev_mtd0.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że model STB nie jest wpierany przez multiboota!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #Octagon SF4008 ARM
            elif getCPUSoC() == 'bcm7251' or getBoxHostName() == 'sf4008':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd1 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/sf4008_mmcblk0p3.sh'
                        self.session.open(Console,
                                          _('NeoBoot Octagon SF4008 ARM ...'),
                                          [cmd1])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'
                            self.session.open(
                                Console, _('NeoBoot Octagon SF4008 ARM ....'),
                                [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/sf4008_mmcblk0p3.sh'
                            self.session.open(
                                Console, _('NeoBoot Octagon SF4008 ARM ....'),
                                [cmd1])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'cd /media/mmc; ln -sf /sbin/init.sysvinit /media/mmc/sbin/init; opkg install --force-maintainer --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxHostName(
                            )
                            self.session.open(
                                Console, _('NeoBoot Octagon SF4008 ARM ....'),
                                [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'cd /media/mmc; ln -sfn /sbin/init.sysvinit /media/mmc/sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/sf4008_mmcblk0p3.sh'
                            self.session.open(
                                Console, _('NeoBoot Octagon SF4008 ARM ....'),
                                [cmd1])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że Twój model STB nie jest wpierany!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #Zgemma h7S ARM
            elif getCPUSoC() == 'bcm7251s' or getBoxHostName() == 'h7':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd1 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/h7s_mmcblk0p2.sh'
                        self.session.open(Console,
                                          _('NeoBoot Zgemma h7S ARM ...'),
                                          [cmd1])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console,
                                              _('NeoBoot Zgemma h7S ARM ....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/h7s_mmcblk0p2.sh'
                            self.session.open(Console,
                                              _('NeoBoot Zgemma h7S ARM ....'),
                                              [cmd1])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'cd /media/mmc; ln -sf /sbin/neoinitarm /media/mmc/sbin/init; opkg install --force-maintainer --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxHostName(
                            )
                            self.session.open(Console,
                                              _('NeoBoot Zgemma h7S ARM ....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxHostName())):
                            cmd1 = 'cd /media/mmc; ln -sfn /sbin/neoinitarm /media/mmc/sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/h7s_mmcblk0p2.sh'
                            self.session.open(Console,
                                              _('NeoBoot Zgemma h7S ARM ....'),
                                              [cmd1])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że Twój model STB nie jest wpierany!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #VUPLUS ARM - vu_mmcblk0p1.sh
            elif getCPUSoC() == '7444s' or getBoxHostName(
            ) == 'vuultimo4k' or getCPUSoC() == '7376' or getBoxHostName(
            ) == 'vusolo4k' or getCPUSoC() == '7252s' or getBoxHostName(
            ) == 'vuuno4kse':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd1 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p1.sh'
                        self.session.open(Console, _('NeoBoot Arm....'),
                                          [cmd1])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'ln -sfn /sbin/neoinitarmvu /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p1.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'cd /media/mmc; ln -sf /sbin/neoinitarm /media/mmc/sbin/init; opkg install --force-maintainer --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxVuModel(
                            )
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'cd /media/mmc; ln -sfn /sbin/neoinitarmvu /media/mmc/sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p1.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że Twój model STB nie jest wpierany!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #VUPLUS ARM - vu_mmcblk0p4.sh
            elif getCPUSoC() == '72604' or getBoxHostName() == 'vuzero4k':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd1 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p4.sh'
                        self.session.open(Console, _('NeoBoot Arm....'),
                                          [cmd1])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'ln -sfn /sbin/neoinitarmvu /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p4.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'cd /media/mmc; ln -sf /sbin/neoinitarm /media/mmc/sbin/init; opkg install --force-maintainer --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxVuModel(
                            )
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'cd /media/mmc; ln -sfn /sbin/neoinitarmvu /media/mmc/sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p4.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że Twój model STB nie jest wpierany!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #VUPLUS ARM - Duo4k.sh
            elif getCPUSoC() == '7278' or getBoxHostName() == 'vuduo4k':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd1 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p6.sh'
                        self.session.open(Console, _('NeoBoot Arm....'),
                                          [cmd1])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'ln -sfn /sbin/neoinitarmvu /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p6.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'cd /media/mmc; ln -sf /sbin/neoinitarm /media/mmc/sbin/init; opkg install --force-maintainer --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxVuModel(
                            )
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/zImage.%s' %
                            (getImageNeoBoot(), getBoxVuModel())):
                            cmd1 = 'cd /media/mmc; ln -sfn /sbin/neoinitarmvu /media/mmc/sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_mmcblk0p6.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd1])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że Twój model STB nie jest wpierany!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #VUPLUS MIPS  mtd2
            elif getCPUSoC() == '7356' or getCPUSoC() == '7429' or getCPUSoC(
            ) == '7424' or getCPUSoC() == '7241' or getCPUSoC(
            ) == '7362' or getBoxHostName() == 'vusolo2' or getBoxHostName(
            ) == 'vusolose' or getBoxHostName() == 'vuduo2' or getBoxHostName(
            ) == 'vuzero':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_dev_mtd2.sh'
                        self.session.open(Console, _('NeoBoot MIPS...'),
                                          [cmd2])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = 'ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = 'ln -sfn /sbin/neoinitmipsvu /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_dev_mtd2.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = 'opkg install --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxVuModel(
                            )
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_dev_mtd2.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że model STB nie jest wpierany przez multiboota!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            #VUPLUS MIPS mtd1
            elif getCPUSoC() == '7335' or getCPUSoC() == '7325' or getCPUSoC(
            ) == '7405' or getCPUSoC() == '7405(with 3D)' or getBoxHostName(
            ) == 'vuultimo' or getBoxHostName() == 'bm750' or getBoxHostName(
            ) == 'duo' or getBoxHostName() == 'vuuno' or getBoxHostName(
            ) == 'vusolo' or getBoxHostName() == 'vuduo':
                if getImageNeoBoot() == 'Flash':
                    if fileExists('/.multinfo'):
                        cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_dev_mtd1.sh'
                        self.session.open(Console, _('NeoBoot MIPS...'),
                                          [cmd2])
                    elif not fileExists('/.multinfo'):
                        self.session.open(TryQuitMainloop, 2)
                elif getImageNeoBoot() != 'Flash':
                    if not fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = 'ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = 'ln -sfn /sbin/neoinitmipsvu /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_dev_mtd1.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                    elif fileExists('/.multinfo'):
                        if not fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = 'opkg install --force-reinstall --force-overwrite --force-downgrade /media/neoboot/ImagesUpload/.kernel/zImage.%s.ipk; reboot -d -f -h -i' % getBoxVuModel(
                            )
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                        elif fileExists(
                                '/media/neoboot/ImageBoot/%s/boot/%s.vmlinux.gz'
                                % (getImageNeoBoot(), getBoxVuModel())):
                            cmd2 = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/target/vu_dev_mtd1.sh'
                            self.session.open(Console, _('NeoBoot Arm....'),
                                              [cmd2])
                else:
                    os.system(
                        'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot'
                    )
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('Wygląda na to że model STB nie jest wpierany przez multiboota!!! '
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

            else:
                os.system(
                    'echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot')
                self.messagebox = self.session.open(
                    MessageBox,
                    _('Wygląda na to że model STB nie jest wpierany przez NEOBOOT !!! '
                      ), MessageBox.TYPE_INFO, 8)
                self.close()
示例#2
0
    def StartImageInNeoBoot(self):                              
        if getImageNeoBoot() != 'Flash':
            if fileExists('%sImageBoot/%s/.control_ok' % ( getNeoLocation(),  getImageNeoBoot())): 
                system('touch /tmp/.control_ok ') 
            else:
                system('touch %sImageBoot/%s/.control_boot_new_image ' % ( getNeoLocation(), getImageNeoBoot() ))

        if fileExists('/.multinfo') and getCPUtype() == 'ARMv7':           
                if  getBoxVuModel() == 'zero4k':
                    os.system('mkdir -p /media/InternalFlash; mount /dev/mmcblk0p7 /media/InternalFlash')

        system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')         
        self.sel = self['list'].getCurrent()
        if self.sel:
            self.sel = self.sel[2]     
        if self.sel == 0:          
            if fileExists('/media/InternalFlash/etc/init.d/neobootmount.sh'):
                os.system('rm -f /media/InternalFlash/etc/init.d/neobootmount.sh;')
            if not fileExists('/bin/busybox.nosuid'):
                os.system('ln -sf "busybox" "/bin/busybox.nosuid" ')
#################_____ARM____########################## 
            #VUPLUS ARM - Zero4k vu_mmcblk0p4.sh                                                        
            if getBoxHostName() == 'vuzero4k' or getCPUSoC() == '72604': 
                        if not fileExists('%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName()) ):
                            mess = (_('Error - in the location %sImagesUpload/.kernel/ \nkernel file not found flash-kernel-%s.bin') % (getNeoLocation(), getBoxHostName())  )
                            self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) 
                        else:
                            if getImageNeoBoot() == 'Flash':                                                
                                if fileExists('/.multinfo'):                 
                                    cmd = "echo -e '\n\n%s '" % _('...............NEOBOOT - REBOOT...............\nPlease wait, in a moment the decoder will be restarted...') 
                                    cmd1 = 'cd /media/InternalFlash; ln -sf "init.sysvinit" "/media/InternalFlash/sbin/init"; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/kernel.sh '                  

                                elif not fileExists('/.multinfo'): 
                                    cmd = "echo -e '\n\n%s '" % _('...............NEOBOOT - REBOOT...............\nPlease wait, in a moment the decoder will be restarted...')                                  
                                    cmd1 = 'sleep 5; ln -sf "init.sysvinit" "/sbin/init"; reboot -dfhi'                                                   

                            elif  getImageNeoBoot() != 'Flash':                                                 
                                if not fileExists('/.multinfo'):  
                                    if not fileExists('%sImageBoot/%s/boot/zImage.%s' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())):  
                                        cmd = "echo -e '\n\n%s '" % _('...............NEOBOOT - REBOOT...............\nPlease wait, in a moment the decoder will be restarted...') 
                                        cmd1 = 'sleep 5; ln -sfn /sbin/neoinitarm /sbin/init; /etc/init.d/reboot'
                                    
                                    elif fileExists('%sImageBoot/%s/boot/zImage.%s' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())):     
                                        cmd = "echo -e '\n\n%s '" % _('...............NEOBOOT - REBOOT...............\nPlease wait, in a moment the decoder will be restarted...') 
                                        cmd1 = 'ln -sfn /sbin/neoinitarmvu /sbin/init; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/kernel.sh '                    
                                        
                                elif fileExists('/.multinfo'):    
                                    if not fileExists('%sImageBoot/%s/boot/zImage.%s' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())):
                                        cmd = "echo -e '\n\n%s '" % _('...............NEOBOOT - REBOOT...............\nPlease wait, in a moment the decoder will be restarted...')  
                                        cmd1 = 'dd if=' + getNeoLocation() + 'ImagesUpload/.kernel/flash-kernel-' + getBoxHostName() + '.bin of=/dev/mmcblk0p1; cd /media/InternalFlash; ln -sf "neoinitarm" "/media/InternalFlash/sbin/init" ; sleep 2; reboot -dfhi '  
                                                                                
                                    elif fileExists('%sImageBoot/%s/boot/zImage.%s' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())):
                                        cmd = "echo -e '\n\n%s '" % _('...............NEOBOOT - REBOOT...............\nPlease wait, in a moment the decoder will be restarted...') 
                                        cmd1 = 'cd /media/InternalFlash; ln -sf "neoinitarmvu" "/media/InternalFlash/sbin/init"; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/kernel.sh '                                                                                       
                                        
                            self.session.open(Console, _('NeoBoot ARM VU'), [cmd, cmd1])
                            self.close()  
                                                                                                                                                                                                                                                                 
            else:
                            os.system('echo "Flash "  >> ' + getNeoLocation() + 'ImageBoot/.neonextboot')
                            self.messagebox = self.session.open(MessageBox, _('It looks like it that multiboot does not support this STB.'), MessageBox.TYPE_INFO, 8)
                            self.close()
示例#3
0
    def StartImageInNeoBoot(self):
        if getImageNeoBoot() != 'Flash':
            if fileExists('%sImageBoot/%s/.control_ok' %
                          (getNeoLocation(), getImageNeoBoot())):
                system('touch /tmp/.control_ok ')
            else:
                system('touch %sImageBoot/%s/.control_boot_new_image ' %
                       (getNeoLocation(), getImageNeoBoot()))

        system(
            'chmod 755 /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/bin/*'
        )

        self.sel = self['list'].getCurrent()
        if self.sel:
            self.sel = self.sel[2]
        if self.sel == 0:
            if fileExists('/media/InternalFlash/etc/init.d/neobootmount.sh'):
                os.system(
                    'rm -f /media/InternalFlash/etc/init.d/neobootmount.sh;')
            if not fileExists('/bin/busybox.nosuid'):
                os.system('ln -sf "busybox" "/bin/busybox.nosuid" ')
#################_____mips___##########################

#VUPLUS MIPS vu_dev_mtd1.sh
            if "vu" + getBoxVuModel() == getBoxHostName():
                if getBoxHostName() == 'vuultimo' or getBoxHostName(
                ) == 'bm750' or getBoxHostName() == 'vuduo' or getBoxHostName(
                ) == 'vuuno' or getBoxHostName() == 'vusolo' or getBoxHostName(
                ) == 'vuduo':
                    mtd = 'mtd1'
                    if fileExists('' + getNeoLocation() + 'ImageBoot/' +
                                  getImageNeoBoot() + '/etc/vtiversion.info'
                                  ) and getExtCheckHddUsb() == 'ext4':
                        if fileExists('%sImageBoot/%s/boot/%s.vmlinux.gz' %
                                      (getNeoLocation(), getImageNeoBoot(),
                                       getBoxHostName())):
                            os.system(
                                'rm -r %sImageBoot/%s/boot/%s.vmlinux.gz' %
                                (getNeoLocation(), getImageNeoBoot(),
                                 getBoxHostName()))

                elif getBoxHostName() == 'vusolo2' or getBoxHostName(
                ) == 'vusolose' or getBoxHostName(
                ) == 'vuduo2' or getBoxHostName() == 'vuzero':
                    mtd = 'mtd2'
                else:
                    self.messagebox = self.session.open(
                        MessageBox,
                        _('It looks like it that multiboot does not found MTD.'
                          ), MessageBox.TYPE_INFO, 8)
                    self.close()

                if not fileExists('%sImagesUpload/.kernel/%s.vmlinux.gz' %
                                  (getNeoLocation(), getBoxHostName())):
                    self.myclose2(
                        _('Error - in the location %sImagesUpload/.kernel/ \nkernel file not found flash kernel vmlinux.gz '
                          % getNeoLocation()))
                else:
                    if getImageNeoBoot() == 'Flash':
                        if fileExists('/.multinfo'):
                            cmd = "echo -e '\n%s '" % _(
                                '...............NeoBoot  REBOOT...............\nPlease wait, in a moment the decoder will be restarted...'
                            )
                            cmd1 = 'flash_erase /dev/' + mtd + ' 0 0 > /dev/null 2>&1 ; flash_eraseall /dev/' + mtd + ' 0 0 > /dev/null 2>&1'
                            if getNandWrite() == 'nandwrite':
                                cmd2 = 'nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                ) + 'ImagesUpload/.kernel/' + getBoxHostName(
                                ) + '.vmlinux.gz > /dev/null 2>&1'
                            else:
                                cmd2 = '' + LinkNeoBoot + '/bin/nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                ) + 'ImagesUpload/.kernel/' + getBoxHostName(
                                ) + '.vmlinux.gz > /dev/null 2>&1'
                            cmd3 = "echo -e '\n%s '" % _(
                                'Start image FLASH - kernel flash !\n' +
                                getNandWrite() + '\nSTB NAME: ' +
                                getBoxHostName() + '\nNeoBoot location:' +
                                getNeoLocation() + '\nCPU: ' + getCPUSoC() +
                                '\nImage boot: ' + getImageNeoBoot() +
                                '\n____Your device will reboot in 5 seconds !____ '
                            )
                            cmd4 = 'update-alternatives --remove vmlinux vmlinux-`uname -r` || true; sync; sleep 8; reboot -d -f'

                        elif not fileExists('/.multinfo'):
                            cmd = "echo -e '\n%s '" % _(
                                '...............NEOBOOT >> Reboot...............\nPlease wait, in a moment the decoder will be restarted...'
                            )
                            cmd1 = 'ln -sfn /sbin/init.sysvinit /sbin/init'
                            cmd2 = 'sync'
                            cmd3 = "echo -e '\n%s '" % _(
                                'Start image flash !\nSTB NAME: ' +
                                getBoxHostName() + '\nNeoBoot location:' +
                                getNeoLocation() + '\nCPU: ' + getCPUSoC() +
                                '\nImage boot: ' + getImageNeoBoot() +
                                '\n____Your device will reboot in 5 seconds !____ '
                            )
                            cmd4 = 'sleep 8; reboot -d -f'

                    elif getImageNeoBoot() != 'Flash':
                        if fileExists('/.multinfo') and getImageNeoBoot(
                        ) == getImageBootNow():
                            cmd = "echo -e '\n%s '" % _(
                                '...............NEOBOOT > REBOOT...............\nPlease wait, in a moment the decoder will be restarted...'
                            )
                            cmd1 = 'ln -sfn /sbin/init.sysvinit /sbin/init'
                            cmd2 = 'update-alternatives --remove vmlinux vmlinux-`uname -r` || true'
                            cmd3 = "echo -e '\n%s '" % _(
                                'Reboot system E2 now !\nSTB NAME: ' +
                                getBoxHostName() + '\nNeoBoot location:' +
                                getNeoLocation() + '\nCPU: ' + getCPUSoC() +
                                '\nImage boot: ' + getImageNeoBoot() +
                                '\n____Your device will REBOOT in 5 seconds !____ '
                            )
                            cmd4 = 'sync; sleep 8; reboot -d -f '

                        elif not fileExists('/.multinfo'):
                            if fileExists('' + getNeoLocation() +
                                          'ImageBoot/' + getImageNeoBoot() +
                                          '/boot/' + getBoxHostName() +
                                          '.vmlinux.gz'):
                                cmd = "echo -e '\n%s '" % _(
                                    '...............NEOBOOT-REBOOT...............\nPlease wait, in a moment the decoder will be restarted...'
                                )
                                cmd1 = 'flash_erase /dev/' + mtd + ' 0 0 > /dev/null 2>&1; flash_eraseall /dev/' + mtd + ' 0 0 > /dev/null 2>&1'
                                if getNandWrite() == 'nandwrite':
                                    cmd2 = 'nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                    ) + 'ImageBoot/' + getImageNeoBoot(
                                    ) + '/boot/' + getBoxHostName(
                                    ) + '.vmlinux.gz > /dev/null 2>&1'
                                else:
                                    cmd2 = '' + LinkNeoBoot + '/bin/nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                    ) + 'ImageBoot/' + getImageNeoBoot(
                                    ) + '/boot/' + getBoxHostName(
                                    ) + '.vmlinux.gz > /dev/null 2>&1'
                                cmd3 = "echo -e '\n%s '" % _(
                                    'Changed kernel COMPLETE ! ' +
                                    getNandWrite() + '\nSTB NAME: ' +
                                    getBoxHostName() + '\nNeoBoot location:' +
                                    getNeoLocation() + '\nCPU: ' +
                                    getCPUtype() + ' ' + getCPUSoC() +
                                    '\nImage boot: ' + getImageNeoBoot() +
                                    '\n____Your device will reboot in 5 seconds !____ '
                                )
                                cmd4 = 'ln -sfn /sbin/neoinitmipsvu /sbin/init; update-alternatives --remove vmlinux vmlinux-`uname -r` || true; sync; sleep 8; reboot -d -f'

                            elif not fileExists(
                                    '%sImageBoot/%s/boot/%s.vmlinux.gz' %
                                (getNeoLocation(), getImageNeoBoot(),
                                 getBoxHostName())):
                                cmd = "echo -e '\n%s '" % _(
                                    '...............NEOBOOT > REBOOT...............\nPlease wait, in a moment the decoder will be restarted...'
                                )
                                cmd1 = 'ln -sfn /sbin/neoinitmipsvu /sbin/init'
                                cmd2 = 'update-alternatives --remove vmlinux vmlinux-`uname -r` || true'
                                cmd3 = "echo -e '\n%s '" % _(
                                    'Start image without changing the kernel!\nSTB NAME: '
                                    + getBoxHostName() +
                                    '\nNeoBoot location:' + getNeoLocation() +
                                    '\nCPU: ' + getCPUSoC() +
                                    '\nImage boot: ' + getImageNeoBoot() +
                                    '\n____Your device will reboot in 5 seconds !____ '
                                )
                                cmd4 = 'sync; sleep 8; reboot -d -f'

                        elif fileExists('/.multinfo'):
                            if not fileExists(
                                    '%sImageBoot/%s/boot/%s.vmlinux.gz' %
                                (getNeoLocation(), getImageNeoBoot(),
                                 getBoxHostName())):
                                cmd = "echo -e '\n%s '" % _(
                                    '...............NeoBoot  REBOOT...............\nPlease wait, in a moment the decoder will be restarted...'
                                )
                                cmd1 = 'flash_erase /dev/' + mtd + ' 0 0 > /dev/null 2>&1 ; flash_eraseall /dev/' + mtd + ' 0 0 > /dev/null 2>&1'
                                if getNandWrite() == 'nandwrite':
                                    cmd2 = 'nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                    ) + 'ImagesUpload/.kernel/' + getBoxHostName(
                                    ) + '.vmlinux.gz > /dev/null 2>&1'
                                else:
                                    cmd2 = '' + LinkNeoBoot + '/bin/nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                    ) + 'ImagesUpload/.kernel/' + getBoxHostName(
                                    ) + '.vmlinux.gz > /dev/null 2>&1'
                                cmd3 = "echo -e '\n%s '" % _(
                                    'Changed kernel COMPLETE ! ' +
                                    getNandWrite() + '\nSTB NAME: ' +
                                    getBoxHostName() + '\nNeoBoot location:' +
                                    getNeoLocation() + '\nCPU: ' +
                                    getCPUSoC() + '\nImage boot: ' +
                                    getImageNeoBoot() +
                                    '\n____Your device will reboot in 5 seconds !____ '
                                )
                                cmd4 = 'update-alternatives --remove vmlinux vmlinux-`uname -r` || true; sync; sleep 8; reboot -d -f'

                            elif fileExists(
                                    '%sImageBoot/%s/boot/%s.vmlinux.gz' %
                                (getNeoLocation(), getImageNeoBoot(),
                                 getBoxHostName())):
                                cmd = "echo -e '\n%s '" % _(
                                    '...............REBOOT now...............\nPlease wait, in a moment the decoder will be restarted...'
                                )
                                cmd1 = 'flash_erase /dev/' + mtd + ' 0 0 > /dev/null 2>&1 ; flash_eraseall /dev/' + mtd + ' 0 0 > /dev/null 2>&1 '
                                if getNandWrite() == 'nandwrite':
                                    cmd2 = 'nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                    ) + 'ImageBoot/' + getImageNeoBoot(
                                    ) + '/boot/' + getBoxHostName(
                                    ) + '.vmlinux.gz > /dev/null 2>&1'
                                else:
                                    cmd2 = '' + LinkNeoBoot + '/bin/nandwrite -p /dev/' + mtd + ' ' + getNeoLocation(
                                    ) + 'ImageBoot/' + getImageNeoBoot(
                                    ) + '/boot/' + getBoxHostName(
                                    ) + '.vmlinux.gz > /dev/null 2>&1'
                                cmd3 = "echo -e '\n%s '" % _(
                                    'Changed kernel COMPLETE ! ' +
                                    getNandWrite() + '\nSTB NAME: ' +
                                    getBoxHostName() + '\nNeoBoot location:' +
                                    getNeoLocation() + '\nCPU: ' +
                                    getCPUSoC() + '\nImage boot: ' +
                                    getImageNeoBoot() +
                                    '\n____Your device will reboot in 5 seconds !____ '
                                )
                                cmd4 = 'update-alternatives --remove vmlinux vmlinux-`uname -r` || true; sync; sleep 8; reboot -d -f'

                    self.session.open(Console, _('NeoBoot MIPS....'),
                                      [cmd, cmd1, cmd2, cmd3, cmd4])
                    self.close()

            else:
                os.system('echo "Flash "  >> ' + getNeoLocation() +
                          'ImageBoot/.neonextboot')
                self.messagebox = self.session.open(
                    MessageBox,
                    _('It looks like it that multiboot does not support this STB.'
                      ), MessageBox.TYPE_INFO, 8)
                self.close()