From d672d3b45e69dae1faf052813b546cd73d162060 Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 9 Feb 2023 13:36:38 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index 0981feb..65c516a 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -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)