From e8dc364f3c8f5e942874affcada3452cda356c33 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 12 Jan 2024 13:25:14 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index dfaaf81..5a31a29 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -453,7 +453,7 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow rc = os.system(cmd) cmd1 = 'cp -af /var/lib/zerotier-one/identity.secret ' + getNeoLocation() + 'ImageBoot/%s/var/lib/zerotier-one/' % target rc = os.system(cmd1) - + if os.path.exists('%s/ImageBoot/%s/etc/rc.local' % (media, target)): filename = '%s/ImageBoot/%s/etc/rc.local' % (media, target) if os.path.exists(filename): @@ -511,10 +511,10 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow # target, # media, # target) - cmd = 'ln -s %sImageBoot/%s/etc/init.d/rc.local %sImageBoot/%s/etc/rc.local' % (media, - target, - media, - target) +# cmd = 'ln -s %sImageBoot/%s/etc/init.d/rc.local %sImageBoot/%s/etc/rc.local' % (media, +# target, +# media, +# target) if os.path.exists('%s/ImageBoot/%s/usr/lib/enigma2/python/Plugins/PLi' % (media, target)): cmd = 'cp -af /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/init.d/rcS.local' % (media, target)