From 245bb6994960f22140e5095380cc2f25ddc140b4 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 8 Dec 2021 20:16:12 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index b0cd0ca..32db3a3 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -148,7 +148,8 @@ class MBTools(Screen): def updateList(self): self.list = [] mypath = '' + LinkNeoBoot + '' - 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")) + #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")) + os.system(("chattr -i /usr/lib/periodon/.activatedmac")) if not fileExists(mypath + 'icons'): mypixmap = '' + LinkNeoBoot + '/images/ok.png' png = LoadPixmap(mypixmap)