Update tools.py

This commit is contained in:
gutosie
2022-01-19 15:44:30 +02:00
committed by GitHub
parent c4c478db32
commit eb1de8e922

View File

@@ -2265,7 +2265,9 @@ class Opis(Screen):
def mbdelete(self, answer):
if answer is True:
os.system('chattr -i ' + LinkNeoBoot + '/plugin.py; chattr -i ' + LinkNeoBoot + '/plugin.pyo; chattr -i /usr/lib/periodon/.activatedmac')
os.system('touch /tmp/.upneo; chattr -i ' + LinkNeoBoot + '/plugin.py')
if fileExists('' + LinkNeoBoot + '/plugin.pyo'):
os.system('chattr -i ' + LinkNeoBoot + '/plugin.pyo')
if fileExists('/etc/rcS.d/S99neo.local'):
system('rm -r /etc/rcS.d/S99neo.local')
if fileExists('/etc/name'):