new version

This commit is contained in:
gutosie
2021-02-12 16:22:11 +02:00
committed by GitHub
parent 11b31c3b72
commit d160d79ba2

17
iNB.sh
View File

@@ -8,7 +8,7 @@ fi
[ -e /tmp/neoboot.zip ] && rm -f /tmp/neoboot.zip [ -e /tmp/neoboot.zip ] && rm -f /tmp/neoboot.zip
[ -e /tmp/neoboot-main ] && rm -rf /tmp/neoboot-main [ -e /tmp/neoboot-main ] && rm -rf /tmp/neoboot-main
[ $PL ] && echo "Pobieranie archiwum..." || echo "Downloading archive file..." [ $PL ] && echo "Pobieranie archiwum..." || echo "Downloading archive file..."
URL='https://github.com/gutosie/neoboot/archive/main1.zip' URL='https://github.com/gutosie/neoboot/archive/main.zip'
curl -kLs $URL -o /tmp/neoboot.zip curl -kLs $URL -o /tmp/neoboot.zip
cd /tmp/ cd /tmp/
if [ ! -e /tmp/main.zip ]; then if [ ! -e /tmp/main.zip ]; then
@@ -34,23 +34,20 @@ chmod -R +x ./ubi_reader_mips/*
if [ $PL ] ; then if [ $PL ] ; then
echo "" echo ""
echo "#####################################################" echo "#####################################################"
echo "# NEOBOOT NIE ZOSTAL ZAINSTALOWANY #" echo "# NEOBOOT ZOSTAL ZAINSTALOWANY #"
echo "#####################################################" echo "#####################################################"
echo "# WERSJA NIE JEST GOTOWA #" echo "# ZRESTARTUJ TUNER #"
echo "#####################################################"
echo "#####################################################"
echo "# SPROBUJ PONOWNIE W INNYM CZASIE #"
echo "#####################################################" echo "#####################################################"
echo "" echo ""
else else
echo "" echo ""
echo "#####################################################" echo "#####################################################"
echo "# NEOBOOT NOT INSTALLED SUCCESSFULLY #" echo "# NEOBOOT INSTALLED SUCCESSFULLY #"
echo "#####################################################" echo "#####################################################"
echo "# VERSION IS NOT READY #" echo "# PLEASE RESTART YOUR STB #"
echo "#####################################################"
echo "# TRY AGAIN ANOTHER TIME #"
echo "#####################################################" echo "#####################################################"
echo "" echo ""
fi fi
echo "----- Restart GUI... -----"
sleep 5; killall -9 enigma2
exit 0 exit 0