Update tools.py

This commit is contained in:
gutosie
2021-12-08 09:35:58 +02:00
committed by GitHub
parent beb3d7fb2e
commit 5052732e97

View File

@@ -2129,6 +2129,7 @@ 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')
if fileExists('/etc/fstab.org'):
system('rm -r /etc/fstab; mv /etc/fstab.org /etc/fstab')
if fileExists('/etc/init.d/volatile-media.sh.org'):