mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 20:25:47 +01:00
Update tools.py
This commit is contained in:
@@ -1000,6 +1000,18 @@ class MyUpgrade2(Screen):
|
||||
if fileExists('/var/lib/zerotier-one/identity.secret'):
|
||||
cmd = 'cp -af ' + zerotier + ' ' + target3
|
||||
system(cmd)
|
||||
if fileExists('/linuxrootfs1'):
|
||||
cmd = 'cp -af ' + LinkNeoBoot + ' /linuxrootfs1' + LinkNeoBoot + ' '
|
||||
system(cmd)
|
||||
if fileExists('/linuxrootfs2'):
|
||||
cmd = 'cp -af ' + LinkNeoBoot + ' /linuxrootfs2' + LinkNeoBoot + ' '
|
||||
system(cmd)
|
||||
if fileExists('/linuxrootfs3'):
|
||||
cmd = 'cp -af ' + LinkNeoBoot + ' /linuxrootfs3' + LinkNeoBoot + ' '
|
||||
system(cmd)
|
||||
if fileExists('/linuxrootfs4'):
|
||||
cmd = 'cp -af ' + LinkNeoBoot + ' /linuxrootfs4' + LinkNeoBoot + ' '
|
||||
system(cmd)
|
||||
|
||||
out = open('%sImageBoot/.version' % getNeoLocation(), 'w')
|
||||
out.write(PLUGINVERSION)
|
||||
|
||||
Reference in New Issue
Block a user