mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-26 08:56:06 +01:00
Update iNB.sh
This commit is contained in:
11
iNB.sh
11
iNB.sh
@@ -16,9 +16,10 @@ fi
|
||||
if [ ! -e /.multinfo ]; then
|
||||
[ -e /tmp/neoboot.zip ] && rm -f /tmp/neoboot.zip
|
||||
[ -e /tmp/neoboot-main ] && rm -rf /tmp/neoboot-main
|
||||
echo "Multiboot image"
|
||||
echo ":"
|
||||
echo "M U L T I B O O T"
|
||||
echo ""
|
||||
[ $PL ] && echo "Pobieranie archiwum..." || echo "Downloading archive file..."
|
||||
echo "*****************************************************"
|
||||
URL='https://github.com/gutosie/neoboot/archive/main.zip'
|
||||
curl -kLs $URL -o /tmp/neoboot.zip
|
||||
Cel="/usr/lib/enigma2/python/Plugins/Extensions"
|
||||
@@ -56,7 +57,7 @@ if [ ! -e /.multinfo ]; then
|
||||
rm -rf $Cel/NeoBoot/.location
|
||||
fi
|
||||
[ $PL ] && echo "Instalowanie..." || echo "Instaling..."
|
||||
echo ":"
|
||||
echo "*****************************************************"
|
||||
[ -e $Cel/NeoBoot ] && rm -rf $Cel/NeoBoot/* || mkdir -p $Cel/NeoBoot
|
||||
mv -f /tmp/neoboot-main/NeoBoot/files/testinout /usr/lib/enigma2/python/Tools/Testinout.py
|
||||
mkdir -p /usr/lib/periodon
|
||||
@@ -86,8 +87,10 @@ if [ ! -e /.multinfo ]; then
|
||||
echo "#####################################################"
|
||||
echo ""
|
||||
fi
|
||||
echo "*******************************************************"
|
||||
echo " N E O B O O T "
|
||||
echo " ----- Restart Enigma2 GUI ----- "
|
||||
echo " ----- Restart Enigma2 GUI ----- "
|
||||
echo "*******************************************************"
|
||||
sleep 2
|
||||
if [ $OS = 'DreamOS' ]; then
|
||||
systemctl restart enigma2
|
||||
|
||||
Reference in New Issue
Block a user