mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
Add files via upload
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# system modules
|
||||
|
||||
@@ -33,7 +34,7 @@ from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_SKIN_IMAGE,
|
||||
from os import system, listdir, mkdir, chdir, getcwd, rename as os_rename, remove as os_remove, popen
|
||||
from os.path import dirname, isdir, isdir as os_isdir
|
||||
from enigma import eTimer
|
||||
from stbbranding import fileCheck, getNeoLocation, getImageNeoBoot, getKernelVersionString, getBoxHostName, getCPUtype, getBoxVuModel, getTunerModel, getCPUSoC, getImageATv, getBoxModelVU
|
||||
from Plugins.Extensions.NeoBoot.files.stbbranding import fileCheck, getNeoLocation, getImageNeoBoot, getKernelVersionString, getBoxHostName, getCPUtype, getBoxVuModel, getTunerModel, getCPUSoC, getImageATv, getBoxModelVU
|
||||
import os
|
||||
import time
|
||||
import sys
|
||||
@@ -161,11 +162,11 @@ class MBTools(Screen):
|
||||
self.list.append (res)
|
||||
self ['list']. list = self.list
|
||||
|
||||
res = (_ ('Uninstall NeoBoot'), png, 5)
|
||||
res = (_ ('Restore neoboot backup'), png, 5)
|
||||
self.list.append (res)
|
||||
self ['list']. list = self.list
|
||||
|
||||
res = (_ ('Reinstall NeoBoot'), png, 6)
|
||||
res = (_ ('Uninstall NeoBoot'), png, 6)
|
||||
self.list.append (res)
|
||||
self ['list']. list = self.list
|
||||
|
||||
@@ -244,9 +245,9 @@ class MBTools(Screen):
|
||||
pass
|
||||
if self.sel == 4 and self.session.open(BackupMultiboot):
|
||||
pass
|
||||
if self.sel == 5 and self.session.open(UnistallMultiboot):
|
||||
if self.sel == 5 and self.session.open(ReinstllNeoBoot):
|
||||
pass
|
||||
if self.sel == 6 and self.session.open(ReinstllNeoBoot):
|
||||
if self.sel == 6 and self.session.open(UnistallMultiboot):
|
||||
pass
|
||||
if self.sel == 7 and self.session.open(UpdateNeoBoot):
|
||||
pass
|
||||
@@ -1202,7 +1203,6 @@ class CheckInstall(Screen):
|
||||
os.system('echo "* neoboot location:" >> ' +LinkNeoBoot+ '/files/modulecheck; cat "/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location" >> ' +LinkNeoBoot+ '/files/modulecheck')
|
||||
os.system('echo "\n* neoboot location install:" >> ' +LinkNeoBoot+ '/files/modulecheck; cat "/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/bin/install" >> ' +LinkNeoBoot+ '/files/modulecheck')
|
||||
os.system('echo "\n* neoboot location mount:" >> ' +LinkNeoBoot+ '/files/modulecheck; cat "/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neo.sh" >> ' +LinkNeoBoot+ '/files/modulecheck')
|
||||
|
||||
if getCPUtype() == 'ARMv7' and getCPUtype() != 'MIPS':
|
||||
if os.system('opkg update; opkg list-installed | grep python-subprocess') != 0:
|
||||
os.system('echo "\n* python-subprocess not installed" >> ' +LinkNeoBoot+ '/files/modulecheck')
|
||||
@@ -1614,7 +1614,7 @@ class ATVcamfeed(Screen):
|
||||
|
||||
def __init__(self, session):
|
||||
Screen.__init__(self, session)
|
||||
self['lab1'] = Label(_('Add Cam dowloand from feed.'))
|
||||
self['lab1'] = Label(_('Add softcam download from feed.'))
|
||||
self['key_red'] = Label(_('Start'))
|
||||
self['actions'] = ActionMap(['WizardActions', 'ColorActions'], {'back': self.close,
|
||||
'red': self.addcamatv})
|
||||
|
||||
Reference in New Issue
Block a user