From 0b35d2fe3c2c06e0274574070577cb8283bfa30c Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 25 Dec 2021 14:10:20 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index 3c4ed75..515a08c 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -2228,6 +2228,8 @@ 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/rcS.d/S99neo.local'): + system('rm -r /etc/rcS.d/S99neo.local') 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'):