mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-16 21:39:53 +01:00
Update extract.py
This commit is contained in:
@@ -509,6 +509,7 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow
|
|||||||
except:
|
except:
|
||||||
cmd1 = 'cp -af /var/spool/cron/* ' + getNeoLocation() + 'ImageBoot/%s/etc/cron' % target
|
cmd1 = 'cp -af /var/spool/cron/* ' + getNeoLocation() + 'ImageBoot/%s/etc/cron' % target
|
||||||
rc = os.system(cmd1)
|
rc = os.system(cmd1)
|
||||||
|
os.system('echo "Copied cron files."')
|
||||||
|
|
||||||
if os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)):
|
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'
|
cmd1 = 'ln -s /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh '+media+'ImageBoot/'+target+'/etc/rcS.d/S99neo.local'
|
||||||
|
|||||||
Reference in New Issue
Block a user