mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-11-03 12:45:47 +01:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		@@ -166,6 +166,8 @@ class StartImage(Screen):
 | 
			
		||||
        if self.sel:
 | 
			
		||||
            self.sel = self.sel[2]
 | 
			
		||||
        if self.sel == 0:
 | 
			
		||||
            if not fileExists('/bin/busybox.nosuid'):
 | 
			
		||||
                os.system('ln -sf "busybox" "/bin/busybox.nosuid" ')
 | 
			
		||||
            if fileExists('/media/InternalFlash/etc/init.d/neobootmount.sh'):
 | 
			
		||||
                os.system('rm -f /media/InternalFlash/etc/init.d/neobootmount.sh;')
 | 
			
		||||
            elif fileExists('/media/InternalFlash/linuxrootfs1/etc/init.d/neobootmount.sh'):
 | 
			
		||||
@@ -173,7 +175,7 @@ class StartImage(Screen):
 | 
			
		||||
            else:
 | 
			
		||||
                pass                                                                 
 | 
			
		||||
            #_____Other ARM procesor____ - here you can add your tuner stb    
 | 
			
		||||
            if getBoxHostName() == "axashistwin" or getBoxHostName() == "i55plus " or getBoxHostName() == "zgemmai55plus " or getBoxHostName() == "h92s" or getBoxHostName() == "zgemmah92s" or getBoxHostName() == "h7" or getBoxHostName() == "zgemmah7" or getBoxHostName() == "h9" or getBoxHostName() == "zgemmah9" or getBoxHostName() == "h9s" or getBoxHostName() == "zgemmah9s" or getBoxHostName() == "h9se" or getBoxHostName() == "zgemmah9se" or getBoxHostName() == "h9twin" or getBoxHostName() == "zgemmah9twin" or getBoxHostName() == "h9combo" or getBoxHostName() == "h9combose" or getBoxHostName() == "h10" or getBoxHostName() == "zgemmahh10" or getBoxHostName() == "hd51" or getBoxHostName() == "ax51" or getBoxHostName() == "ax60" or getBoxHostName() == "ax61" or getBoxHostName() == "sf4008" or getBoxHostName() == "sf8008" or getBoxHostName() == "ustym4kpro" or getBoxHostName() == "tmtwin4k" or getBoxHostName() == "anadol4k" or getBoxHostName() == "protek4k" or getBoxHostName() == "maxytecmulti" or getBoxHostName() == "viper4k" or getBoxHostName() == "dm900" or getBoxHostName() == "dm920" or getBoxHostName() == "et1x000" or getBoxHostName() == "gbquad4k" or getBoxHostName() == "axashisc4k" or getBoxHostName() == "axmultitwin" or getBoxHostName() == "axmulticombo" or getBoxHostName() == "osmio4k" or getBoxHostName() == "osmio4kplus" :              
 | 
			
		||||
            if and getBoxHostName() == "axashistwin" or getBoxHostName() == "i55plus " or getBoxHostName() == "zgemmai55plus " or getBoxHostName() == "h92s" or getBoxHostName() == "zgemmah92s" or getBoxHostName() == "h7" or getBoxHostName() == "zgemmah7" or getBoxHostName() == "h9" or getBoxHostName() == "zgemmah9" or getBoxHostName() == "h9s" or getBoxHostName() == "zgemmah9s" or getBoxHostName() == "h9se" or getBoxHostName() == "zgemmah9se" or getBoxHostName() == "h9twin" or getBoxHostName() == "zgemmah9twin" or getBoxHostName() == "h9combo" or getBoxHostName() == "h9combose" or getBoxHostName() == "h10" or getBoxHostName() == "zgemmahh10" or getBoxHostName() == "hd51" or getBoxHostName() == "ax51" or getBoxHostName() == "ax60" or getBoxHostName() == "ax61" or getBoxHostName() == "sf4008" or getBoxHostName() == "sf8008" or getBoxHostName() == "ustym4kpro" or getBoxHostName() == "tmtwin4k" or getBoxHostName() == "anadol4k" or getBoxHostName() == "protek4k" or getBoxHostName() == "maxytecmulti" or getBoxHostName() == "viper4k" or getBoxHostName() == "dm900" or getBoxHostName() == "dm920" or getBoxHostName() == "et1x000" or getBoxHostName() == "gbquad4k" or getBoxHostName() == "axashisc4k" or getBoxHostName() == "axmultitwin" or getBoxHostName() == "axmulticombo" or getBoxHostName() == "osmio4k" or getBoxHostName() == "osmio4kplus" :              
 | 
			
		||||
                        if getImageNeoBoot() == 'Flash':
 | 
			
		||||
                            if fileExists('/.multinfo'):
 | 
			
		||||
                                if fileExists('/media/InternalFlash/linuxrootfs1/sbin/init'):
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								NeoBoot/tmpfiles/runpy/arm_run.pyo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								NeoBoot/tmpfiles/runpy/arm_run.pyo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -145,14 +145,14 @@ class StartImage(Screen):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')            
 | 
			
		||||
        system('cp -rf /usr/lib/periodon/* %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))                           
 | 
			
		||||
        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 - Duo4k vu_mmcblk0p6.sh                                             
 | 
			
		||||
 
 | 
			
		||||
@@ -145,14 +145,14 @@ class StartImage(Screen):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')            
 | 
			
		||||
        system('cp -rf /usr/lib/periodon/* %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))                           
 | 
			
		||||
        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 - Duo4kse vu_mmcblk0p6.sh                                             
 | 
			
		||||
 
 | 
			
		||||
@@ -144,14 +144,14 @@ class StartImage(Screen):
 | 
			
		||||
                    os.system('mkdir -p /media/InternalFlash; mount /dev/mmcblk0p4 /media/InternalFlash')
 | 
			
		||||
 | 
			
		||||
        system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')
 | 
			
		||||
        system('cp -rf /usr/lib/periodon/* %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))        
 | 
			
		||||
        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" ')
 | 
			
		||||
            #VUPLUS ARM  ultimo4k, solo4k, uno4k, uno4kse - mmcblk0p1.sh
 | 
			
		||||
            if getCPUtype() == "ARMv7" and getBoxHostName() == "vuultimo4k" or getBoxHostName() == "vusolo4k" or getBoxHostName() == "vuuno4k" or getBoxHostName() == "vuuno4kse" :
 | 
			
		||||
                        if not fileExists('%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName()) ):
 | 
			
		||||
 
 | 
			
		||||
@@ -143,14 +143,14 @@ class StartImage(Screen):
 | 
			
		||||
                    os.system('mkdir -p /media/InternalFlash; mount /dev/mmcblk0p7 /media/InternalFlash')
 | 
			
		||||
 | 
			
		||||
        system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')         
 | 
			
		||||
        system('cp -rf /usr/lib/periodon/* %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))                
 | 
			
		||||
        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': 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user