Add files via upload

This commit is contained in:
gutosie
2021-03-13 23:48:37 +02:00
committed by GitHub
parent 5cf7d7d1f3
commit 60ff0288c1
2 changed files with 13 additions and 10 deletions

View File

@@ -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()

View File

@@ -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