Пример #1
0
 def KeyOk(self): 
     if getImageNeoBoot() != 'Flash': 
             os.system('rm -rf %sImageBoot/%s/usr/bin/enigma2_pre_start.sh' % ( getNeoLocation(), getImageNeoBoot())) 
             self.StartImageInNeoBoot()
     else:
         os.system('rm -rf %sImageBoot/%s/usr/bin/enigma2_pre_start.sh' % ( getNeoLocation(), getImageNeoBoot())) 
         self.StartImageInNeoBoot()
     #---------------------------------------------
     getMountPointNeo2()
Пример #2
0
    def KeyOk(self):
        if getImageNeoBoot() != 'Flash':
            os.system('rm -rf %sImageBoot/%s/usr/bin/enigma2_pre_start.sh' %
                      (getNeoLocation(), getImageNeoBoot()))
            self.StartImageInNeoBoot()
        else:
            os.system('rm -rf %sImageBoot/%s/usr/bin/enigma2_pre_start.sh' %
                      (getNeoLocation(), getImageNeoBoot()))
            self.StartImageInNeoBoot()

        if getNandWrite() == 'nandwrite':
            os.system('echo "nandwrite" > /tmp/check_nandwrite')
        #---------------------------------------------
        getMountPointNeo2()