test 9.24

This commit is contained in:
gutosie
2021-03-16 00:39:19 +02:00
committed by GitHub
parent cf7502e7fb
commit 1e6c184a54
3 changed files with 20 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#DESCRIPTION = This script mod. by gutosie
#NeoBoot INIT Version: NEOBOOT VIP all stb MIPSEL with the boot manager
#NeoBoot INIT Version: NEOBOOT VIP all stb MIPSEL with boot manager
#Scrypt Unix Shell - init for neoboot
NEOBOOT=/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot
MODPROBE=/sbin/modprobe
@@ -203,8 +203,8 @@ else
echo "====================================================> "
/bin/umount /media/usb > /dev/null 2>&1
/bin/umount /media/hdd > /dev/null 2>&1
sleep 10
reboot -f
sleep 2
break;
fi
TARGET=Flash
if [ -f $NEODEVICE$IMAGEKATALOG/.neonextboot ]; then
@@ -245,7 +245,7 @@ else
/bin/umount /media/usb > /dev/null 2>&1
/bin/umount /media/hdd > /dev/null 2>&1
echo -n "<<<END INIT INFO Rebooting...>>>"
reboot -d -f
break;
fi
fi
fi

View File

@@ -2,15 +2,6 @@
#script mod by gutosie
#neo init arm
echo "====================================================> "
echo " "
echo " -=*[ NEOBOOT - BOOT UP ]*=- "
echo " NEO BOOT INIT Version: gutosie "
echo " q(-_-)p "
echo " "
echo "====================================================> "
NEODEVICE=`cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`
IMAGEKATALOG=ImageBoot
@@ -20,6 +11,14 @@ if [ -e /tmp/.init_reboot ]; then
break;
else
echo "====================================================> "
echo " "
echo " -=*[ NEOBOOT - BOOT UP ]*=- "
echo " NEO BOOT INIT Version: gutosie "
echo " q(-_-)p "
echo " "
echo "====================================================> "
if [ -e `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`IMAGEKATALOG/.neonextboot ] ; then
CELBOOT=`cat $NEODEVICE$IMAGEKATALOG/.neonextboot`
if [ $CELBOOT = "Flash" ]; then
@@ -31,7 +30,6 @@ else
fi
fi
LIBDIR=/lib/modules/`uname -r`
if [ ! -d $LIBDIR ]; then
LIBDIR=/lib/modules/`ls /lib/modules | tail -n 1`
@@ -51,9 +49,6 @@ else
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
/etc/init.d/mdev > /dev/null 2>&1
############..>>>>>>>>
sleep 5
mnttest="nouuid"
if [ -e /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/bin/install ]; then
@@ -157,9 +152,6 @@ else
break;
fi
###>>>>>>>>>>>>>>>>>
UPLOAD=ImagesUpload
mount /dev/sda1 /media/hdd
if [ ! -e $NEODEVICE$IMAGEKATALOG ]; then
@@ -167,9 +159,9 @@ else
sleep 2
ln -sfn /sbin/init.sysvinit /sbin/init
echo "Flash " > $NEODEVICE$IMAGEKATALOG/.neonextboot
echo "Reinstall kernel -Press number 3" > $NEODEVICE$UPLOAD/.kernel/used_flash_kernel
echo "Reinstall kernel" > $NEODEVICE$UPLOAD/.kernel/used_flash_kernel
echo " Sending all processes the TERM- KILL signal..."
reboot -f
break;
fi