Update extract.py

This commit is contained in:
gutosie
2025-12-11 13:01:33 +02:00
committed by GitHub
parent b0880a2fc4
commit ab9d373bdb

View File

@@ -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'