From 55a84e56bfb030f31ac947e406dd344205c33b8c Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 6 Dec 2022 16:05:55 +0200 Subject: [PATCH] Update neoreboot --- NeoBoot/files/neoreboot | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NeoBoot/files/neoreboot b/NeoBoot/files/neoreboot index 800f785..f193e1c 100644 --- a/NeoBoot/files/neoreboot +++ b/NeoBoot/files/neoreboot @@ -169,6 +169,14 @@ class ForceReboot(Screen): False def main(session, **kwargs): + if not fileExists('' + LinkNeoBoot + '/.location'): + pass + else: + if not fileExists('%sImageBoot/.version' % getNeoLocation()): + if fileExists('' + LinkNeoBoot + '/files/neo.sh'): + os.system('chmod 0755 ' + LinkNeoBoot + '/files/neo.sh; ' + LinkNeoBoot + '/files/neo.sh') + if not fileExists('%sImageBoot/.version' % getNeoLocation()): + os.system('chmod 0755 ' + LinkNeoBoot + '/files/mountpoint.sh; ' + LinkNeoBoot + '/files/mountpoint.sh') try: session.open(NBIChoose2) except: