mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 11:55:47 +01:00
Update tools.py
This commit is contained in:
@@ -148,7 +148,7 @@ class MBTools(Screen):
|
||||
def updateList(self):
|
||||
self.list = []
|
||||
mypath = '' + LinkNeoBoot + ''
|
||||
os.system(("ifconfig eth0 |grep -i hwaddr |awk '{print $5}' > /usr/lib/periodon/.activatedmac"))
|
||||
os.system(("chattr -i /usr/lib/periodon/.activatedmac; ifconfig eth0 |grep -i hwaddr |awk '{print $5}' > /usr/lib/periodon/.activatedmac; chattr +i /usr/lib/periodon/.activatedmac"))
|
||||
if not fileExists(mypath + 'icons'):
|
||||
mypixmap = '' + LinkNeoBoot + '/images/ok.png'
|
||||
png = LoadPixmap(mypixmap)
|
||||
|
||||
Reference in New Issue
Block a user