Update tools.py

This commit is contained in:
gutosie
2025-12-11 17:21:33 +02:00
committed by GitHub
parent 1bce0d0809
commit 8d7232012c

View File

@@ -2640,6 +2640,7 @@ class UploadNEO3(Screen):
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(''+LinkNeoBoot+'/files/userscript.sh; '+LinkNeoBoot+'/files/mountpoint.sh; sleep 5;')
if not fileExists('/.control_boot_new_image'):
self.goNEO()
@@ -2647,6 +2648,10 @@ class UploadNEO3(Screen):
def goNEO(self):
from Plugins.Extensions.NeoBoot.plugin import NeoBootImageChoose
self.session.open(NeoBootImageChoose)
self.myClose(_('NeoBoot successfully updated IPTVPlayer.\nHave fun !!'))
def myClose(self, message):
self.session.open(MessageBox, message, MessageBox.TYPE_INFO, 10)
self.close()
class neoDONATION(Screen):