From eb1de8e9228d4795ac11bb967ee01dfb45b15222 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 19 Jan 2022 15:44:30 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index 80c11e9..6161256 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -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'):