From d41afa15cbb3b0f075452960a4655f9ec1e578b5 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sun, 5 Dec 2021 09:11:49 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index dbeffe3..822dc04 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -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)