From ab9d373bdb9548eee870975ec55e2b45279e8068 Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 11 Dec 2025 13:01:33 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 3c3fb4e..8e0250d 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -499,6 +499,10 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow os.system('echo "not found run_resolvconf_interfaces_tailscale"') except: os.system('echo "Not found file tun.ko"') + + if os.path.exists('/var/spool/cron'): + cmd1 = 'cp -af /var/spool/* ' + getNeoLocation() + 'ImageBoot/%s/var/spool' % target + rc = os.system(cmd1) if os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)): cmd1 = 'ln -s /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh '+media+'ImageBoot/'+target+'/etc/rcS.d/S99neo.local'