From 60ff0288c1fa910618c0745515d28dfeb0c167e4 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 13 Mar 2021 23:48:37 +0200 Subject: [PATCH] Add files via upload --- NeoBoot/files/tools.py | 14 +++++++------- NeoBoot/files/userscript.sh | 9 ++++++--- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index 8839cf2..4aa54ea 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -1846,13 +1846,6 @@ class Opis(Screen): def updatetext(self): message = _('\\ NeoBoot Ver. ' + PLUGINVERSION + ' - NeoBoot Ver. updates ' + UPDATEVERSION + '//\n\n') - message += _('1. Requirements: For proper operation of the device NeoBota are required USB stick or HDD.\n\n') - message += _('2. NeoBot is fully automated\n\n') - message += _('3. To install the new software in multiboot, you must send the software file compressed in zip format via ftp to the ImagesUpload directory, or download from the network.\n\n') - message += _('4. For proper installation and operation of additional image multiboot, use only the image intended for your receiver. !!!\n\n') - message += _('5. By installing the multiboot images of a different type than for your model STB DOING THIS AT YOUR OWN RISK !!!\n\n') - message += _('6. The installed to multiboot images, it is not indicated update to a newer version.\n\n') - message += _('The authors plug NeoBot not liable for damage a receiver, NeoBoota incorrect use or installation of unauthorized additions or images.!!!\n\n') message += _('\----------NEOBOOT - VIP FULL VERSION----------/\n') message += _('Get the full version of the multiboot plugin.\n') message += _('Send an e-mail request for the neoboot vip version.\n') @@ -1869,6 +1862,13 @@ class Opis(Screen): message += _(' krzysztofgutosie@gmail.com\n\n') message += _(' PayPal adress: krzysztofgutosie@gmail.com\n') message += _('---------------- ¯\_(ツ)_/¯ ----------------\n\n') + message += _('1. Requirements: For proper operation of the device NeoBota are required USB stick or HDD.\n\n') + message += _('2. NeoBot is fully automated\n\n') + message += _('3. To install the new software in multiboot, you must send the software file compressed in zip format via ftp to the ImagesUpload directory, or download from the network.\n\n') + message += _('4. For proper installation and operation of additional image multiboot, use only the image intended for your receiver. !!!\n\n') + message += _('5. By installing the multiboot images of a different type than for your model STB DOING THIS AT YOUR OWN RISK !!!\n\n') + message += _('6. The installed to multiboot images, it is not indicated update to a newer version.\n\n') + message += _('The authors plug NeoBot not liable for damage a receiver, NeoBoota incorrect use or installation of unauthorized additions or images.!!!\n\n') message += _('\nCompletely uninstall NeoBota: \nIf you think NeoBot not you need it, you can uninstall it.\nTo uninstall now press the red button on the remote control.\n\n') message += _('Have fun !!!') self['lab1'].show() diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index a3b88f6..445d760 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -17,15 +17,18 @@ else echo "_(Checking internet connection)..." ping -c 1 github.com 1>/dev/null 2>%1 if [ $? -gt 0 ]; then - echo -n "_github server unavailable\nNetwork restart..." + echo -n "github server unavailable" + echo -n "The network has no connection. It is not OK" + echo -n "Network restart..." /etc/init.d/networking stop; echo "_____stopping network connection_____" - sleep 1 + sleep 2 echo "_____start network connection_____" /etc/init.d/networking start; sleep 5 else - echo "_____github server available_____" + echo "github server available" + echo "The network has a connection. It is OK" fi fi if [ -f /%1 ] ; then