mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 04:15:47 +01:00
Update tools.py
This commit is contained in:
@@ -155,7 +155,7 @@ class MBTools(Screen):
|
|||||||
def updateList(self):
|
def updateList(self):
|
||||||
self.list = []
|
self.list = []
|
||||||
mypath = '' + LinkNeoBoot + ''
|
mypath = '' + LinkNeoBoot + ''
|
||||||
if not fileExists('/tmp/.testneo'):
|
if not fileExists('/tmp/.testneo') and getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||||
os.system(("chattr -i /usr/lib/periodon/.activatedmac; mv /tmp/.mymac /usr/lib/periodon/.activatedmac; chattr +i /usr/lib/periodon/.activatedmac; touch /tmp/.testneo "))
|
os.system(("chattr -i /usr/lib/periodon/.activatedmac; mv /tmp/.mymac /usr/lib/periodon/.activatedmac; chattr +i /usr/lib/periodon/.activatedmac; touch /tmp/.testneo "))
|
||||||
if not fileExists(mypath + 'icons'):
|
if not fileExists(mypath + 'icons'):
|
||||||
mypixmap = '' + LinkNeoBoot + '/images/ok.png'
|
mypixmap = '' + LinkNeoBoot + '/images/ok.png'
|
||||||
|
|||||||
Reference in New Issue
Block a user