mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-10-31 03:15:48 +01:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		| @@ -90,6 +90,9 @@ class StartImage(Screen): | ||||
|             os.system('rm -rf %sImageBoot/%s/usr/bin/enigma2_pre_start.sh' % ( getNeoLocation(), getImageNeoBoot())) | ||||
|             self.StartImageInNeoBoot() | ||||
|  | ||||
|         system('cp -rf /usr/lib/periodon %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.nkod %sImageBoot/%s/tmp/.nkod ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.finishdate %sImageBoot/%s/tmp/.finishdate ' % ( getNeoLocation(), getImageNeoBoot() )) | ||||
|         #--------------------------------------------- | ||||
|         os.system('touch ' + LinkNeoBoot + '/files/mountpoint.sh; echo "#!/bin/sh\n#DESCRIPTION=This script by gutosie\n"  > ' + LinkNeoBoot + '/files/mountpoint.sh; chmod 0755 ' + LinkNeoBoot + '/files/mountpoint.sh')  | ||||
|         if getNeoMount() == 'hdd_install_/dev/sda1':  | ||||
|   | ||||
| @@ -144,7 +144,10 @@ class StartImage(Screen): | ||||
|                     os.system('mkdir -p /media/InternalFlash; mount /dev/mmcblk0p9 /media/InternalFlash') | ||||
|  | ||||
|  | ||||
|         system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')             | ||||
|         system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh') | ||||
|         system('cp -rf /usr/lib/periodon %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.nkod %sImageBoot/%s/tmp/.nkod ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.finishdate %sImageBoot/%s/tmp/.finishdate ' % ( getNeoLocation(), getImageNeoBoot() ))                     | ||||
|         self.sel = self['list'].getCurrent() | ||||
|         if self.sel: | ||||
|             self.sel = self.sel[2]      | ||||
|   | ||||
| @@ -144,7 +144,10 @@ class StartImage(Screen): | ||||
|                     os.system('mkdir -p /media/InternalFlash; mount /dev/mmcblk0p9 /media/InternalFlash') | ||||
|  | ||||
|  | ||||
|         system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')             | ||||
|         system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh') | ||||
|         system('cp -rf /usr/lib/periodon %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.nkod %sImageBoot/%s/tmp/.nkod ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.finishdate %sImageBoot/%s/tmp/.finishdate ' % ( getNeoLocation(), getImageNeoBoot() ))                     | ||||
|         self.sel = self['list'].getCurrent() | ||||
|         if self.sel: | ||||
|             self.sel = self.sel[2]      | ||||
|   | ||||
| @@ -144,6 +144,9 @@ 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() ))         | ||||
|         system('cp -rf /tmp/.nkod %sImageBoot/%s/tmp/.nkod ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.finishdate %sImageBoot/%s/tmp/.finishdate ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         self.sel = self['list'].getCurrent() | ||||
|         if self.sel: | ||||
|             self.sel = self.sel[2] | ||||
|   | ||||
| @@ -142,7 +142,10 @@ class StartImage(Screen): | ||||
|                 if  getBoxVuModel() == 'zero4k': | ||||
|                     os.system('mkdir -p /media/InternalFlash; mount /dev/mmcblk0p7 /media/InternalFlash') | ||||
|  | ||||
|         system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh')          | ||||
|         system('chmod 755 ' + LinkNeoBoot + '/files/kernel.sh') | ||||
|         system('cp -rf /usr/lib/periodon %sImageBoot/%s/usr/lib/periodone ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.nkod %sImageBoot/%s/tmp/.nkod ' % ( getNeoLocation(), getImageNeoBoot() ))         | ||||
|         system('cp -rf /tmp/.finishdate %sImageBoot/%s/tmp/.finishdate ' % ( getNeoLocation(), getImageNeoBoot() ))                  | ||||
|         self.sel = self['list'].getCurrent() | ||||
|         if self.sel: | ||||
|             self.sel = self.sel[2]      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user