mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 04:35:47 +01:00
Update iNB.sh
This commit is contained in:
16
iNB.sh
16
iNB.sh
@@ -24,6 +24,22 @@ if [ ! -e /.multinfo ]; then
|
|||||||
URL='https://github.com/gutosie/neoboot/archive/main.zip'
|
URL='https://github.com/gutosie/neoboot/archive/main.zip'
|
||||||
curl -kLs $URL -o /tmp/neoboot.zip
|
curl -kLs $URL -o /tmp/neoboot.zip
|
||||||
Cel="/usr/lib/enigma2/python/Plugins/Extensions"
|
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 $Cel/NeoBoot/plugin.pyc ]; then
|
||||||
|
chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.pyc
|
||||||
|
fi
|
||||||
|
if [ -e /usr/lib/periodon/.activatedmac ]; then
|
||||||
|
chattr -i /usr/lib/periodon/.activatedmac; rm -f /usr/lib/periodon/.activatedmac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
#pobieranie
|
#pobieranie
|
||||||
if [ ! -e /tmp/neoboot.zip ]; then
|
if [ ! -e /tmp/neoboot.zip ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user