Update iNB.sh

This commit is contained in:
gutosie
2023-01-13 19:18:35 +02:00
committed by GitHub
parent def0eb6354
commit 0de885e1d2

13
iNB.sh
View File

@@ -24,19 +24,6 @@ if [ ! -e /.multinfo ]; then
URL='https://github.com/gutosie/neoboot/archive/main.zip'
curl -kLs $URL -o /tmp/neoboot.zip
Cel="/usr/lib/enigma2/python/Plugins/Extensions"
if [ $BOXHOSTNAME = "dm500hd" ] || [ $BOXHOSTNAME = "dm800se" ] || [ $BOXHOSTNAME = "dm800" ] || [ $BOXHOSTNAME = "dm8000" ]; then
break;
else
if [ -e $Cel/NeoBoot/plugin.py ]; then
chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.py
fi
if [ -e $Cel/NeoBoot/plugin.pyo ]; then
chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.pyo
fi
if [ -e /usr/lib/periodon/.activatedmac ]; then
chattr -i /usr/lib/periodon/.activatedmac; rm -f /usr/lib/periodon/.activatedmac
fi
fi
cd /tmp/
#pobieranie
if [ ! -e /tmp/neoboot.zip ]; then