From 4d43eaba4d0ded966938b23c7e965f32bf33b806 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 25 Dec 2021 14:17:18 +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 515a08c..657dad8 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -2229,7 +2229,9 @@ class Opis(Screen): 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') + system('rm -r /etc/rcS.d/S99neo.local') + if fileExists('/etc/name'): + system('rm -r /etc/name') 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'):