mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-17 05:49:50 +01:00
Update tools.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user