Update tools.py

This commit is contained in:
gutosie
2025-12-11 20:16:58 +02:00
committed by GitHub
parent 1d6ab13a27
commit 92f6eae7e0

View File

@@ -2639,7 +2639,7 @@ class UploadNEO3(Screen):
if not fileExists('/.control_boot_new_image'): if not fileExists('/.control_boot_new_image'):
os.system('echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok') os.system('echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok')
if fileExists('/usr/bin/tailscale') or fileExists('/etc/init.d/zerotier') : if fileExists('/usr/bin/tailscale') or fileExists('/etc/init.d/zerotier') :
os.system('opkg update; opkg install iptables kernel-module-tun zerotier; /etc/init.d/zerotier start; taiscale up;') os.system('opkg update; opkg install iptables kernel-module-tun zerotier;sleep 2;/etc/init.d/zerotier start;sleep 2; taiscale up;')
os.system(''+LinkNeoBoot+'/files/userscript.sh; '+LinkNeoBoot+'/files/mountpoint.sh; sleep 5;') os.system(''+LinkNeoBoot+'/files/userscript.sh; '+LinkNeoBoot+'/files/mountpoint.sh; sleep 5;')