From 51606323a51c6d77c958fdcb700702948830f643 Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 11 Dec 2025 19:16:53 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 5499c84..b6385c2 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -477,11 +477,7 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow rc = os.system(cmd1) os.system('echo "Copied file tailscale"') - try: - cmd1 = 'cp -af /lib/modules/*/kernel/drivers/net/tun.ko '+media+'ImageBoot/'+target+'/' - rc = os.system(cmd1) - os.system('echo "Copied file tun.ko to new image"') - + try: if not os.path.exists(''+media+'/ImageBoot/'+target+'/var/run/tailscale'): cmd = 'mkdir -p '+media+'ImageBoot/'+target+'/run/tailscale/' rc = os.system(cmd) @@ -500,7 +496,7 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow except: os.system('echo "not found run_resolvconf_interfaces_tailscale"') except: - os.system('echo "Not found file tun.ko"') + os.system('echo "Not copied taiscale."') if os.path.exists('/var/spool/cron') or os.path.exists('/etc/cron') : if os.path.exists(''+media+'/ImageBoot/'+target+'/var/spool/cron'):