mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 11:55:47 +01:00
Update neoreboot
This commit is contained in:
@@ -169,6 +169,14 @@ class ForceReboot(Screen):
|
|||||||
False
|
False
|
||||||
|
|
||||||
def main(session, **kwargs):
|
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:
|
try:
|
||||||
session.open(NBIChoose2)
|
session.open(NBIChoose2)
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user