2.07
This commit is contained in:
		| @@ -113,9 +113,15 @@ class StartImage(Screen): | |||||||
|                             if fileExists('/.multinfo'):    |                             if fileExists('/.multinfo'):    | ||||||
|                                 os.system('cd /media/mmc; ln -sfn /sbin/init.sysvinit /media/mmc/sbin/init; reboot -d -f -h -i')                  |                                 os.system('cd /media/mmc; ln -sfn /sbin/init.sysvinit /media/mmc/sbin/init; reboot -d -f -h -i')                  | ||||||
|                             elif not fileExists('/.multinfo'):                                   |                             elif not fileExists('/.multinfo'):                                   | ||||||
|                                 os.system('ln -sfn /sbin/init.sysvinit /sbin/init; reboot -d -f -h -i') |                                 cmd = "echo -e '\n\n%s '" % _('NEOBOOT - Restart image flash....\nPlease wait, in a moment the decoder will be restarted...\n')            | ||||||
|  |                                 cmd1='ln -sfn /sbin/init.sysvinit /sbin/init; reboot -d -f -h -i'  | ||||||
|  |                                 self.session.open(Console, _('NeoBoot ....'), [cmd, cmd1]) | ||||||
|  |  | ||||||
|                         elif getImageNeoBoot() != 'Flash':                                                                                |                         elif getImageNeoBoot() != 'Flash':                                                                                | ||||||
|                                 os.system('ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i')                                                           |                                 cmd = "echo -e '\n\n%s '" % _('NEOBOOT - Restart image flash....\nPlease wait, in a moment the decoder will be restarted...\n')            | ||||||
|  |                                 cmd1='ln -sfn /sbin/neoinitarm /sbin/init; reboot -d -f -h -i'  | ||||||
|  |                                 self.session.open(Console, _('NeoBoot ....'), [cmd, cmd1]) | ||||||
|  |  | ||||||
|                         else: |                         else: | ||||||
|                             os.system('echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot') |                             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.messagebox = self.session.open(MessageBox, _('Wygląda na to że multiboot nie wspiera tego modelu STB !!! '), MessageBox.TYPE_INFO, 8) | ||||||
| @@ -126,8 +132,9 @@ class StartImage(Screen): | |||||||
|                         if getImageNeoBoot() == 'Flash':                                         |                         if getImageNeoBoot() == 'Flash':                                         | ||||||
|                             self.session.open(TryQuitMainloop, 2) |                             self.session.open(TryQuitMainloop, 2) | ||||||
|                         elif getImageNeoBoot() != 'Flash':   |                         elif getImageNeoBoot() != 'Flash':   | ||||||
|                                 cmd='ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'  |                                 cmd = "echo -e '\n\n%s '" % _('NEOBOOT - Restart image flash....\nPlease wait, in a moment the decoder will be restarted...\n')            | ||||||
|                                 self.session.open(Console, _('NeoBoot ....'), [cmd])                                                          |                                 cmd1='ln -sfn /sbin/neoinitmips /sbin/init; reboot -d -f -h -i'  | ||||||
|  |                                 self.session.open(Console, _('NeoBoot ....'), [cmd, cmd1])                                                          | ||||||
|                         else: |                         else: | ||||||
|                             os.system('echo "Flash "  >> /media/neoboot/ImageBoot/.neonextboot') |                             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.messagebox = self.session.open(MessageBox, _('Wygląda na to że multiboot nie wspiera tego modelu STB !!! '), MessageBox.TYPE_INFO, 8) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user