mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-20 07:19:43 +01:00
Update extract.py
This commit is contained in:
@@ -450,6 +450,11 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow
|
|||||||
rc = os.system(cmd1)
|
rc = os.system(cmd1)
|
||||||
cmd2 = 'cp -af /etc/init.d/zerotier ' + getNeoLocation() + 'ImageBoot/%s/etc/init.d/' % target
|
cmd2 = 'cp -af /etc/init.d/zerotier ' + getNeoLocation() + 'ImageBoot/%s/etc/init.d/' % target
|
||||||
rc = os.system(cmd2)
|
rc = os.system(cmd2)
|
||||||
|
cmd3 = 'cp -af /usr/sbin/zerotie* ' + getNeoLocation() + 'ImageBoot/%s/usr/sbin/' % target
|
||||||
|
rc = os.system(cmd3)
|
||||||
|
if os.path.exists('/etc/init.d/zerotie*'):
|
||||||
|
cmd1 = 'cp -af /etc/init.d/zerotie* ' + getNeoLocation() + 'ImageBoot/%s/etc/init.d/' % target
|
||||||
|
rc = os.system(cmd1)
|
||||||
os.system('echo "Copied file zerotier"')
|
os.system('echo "Copied file zerotier"')
|
||||||
|
|
||||||
if os.path.exists('/var/lib/tailscale/tailscaled.state'):
|
if os.path.exists('/var/lib/tailscale/tailscaled.state'):
|
||||||
|
|||||||
Reference in New Issue
Block a user