Add files via upload

This commit is contained in:
gutosie
2021-03-09 12:13:21 +02:00
committed by GitHub
parent 45defb9e6d
commit 96ac7511e2

View File

@@ -7,7 +7,7 @@ NEOBOOT=/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/
NEODEVICE=`cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`
IMAGEKATALOG=ImageBoot
BOXNAME=`cat /etc/hostname`
TARGET=Flash
TARGET=Flash
if [ -f $NEODEVICE$IMAGEKATALOG/.neonextboot ]; then
TARGET=`cat $NEODEVICE$IMAGEKATALOG/.neonextboot`
fi
@@ -95,17 +95,19 @@ else
rm -r $NEODEVICE$IMAGEKATALOG/$TARGET/.control_boot_new_image
echo -e "\n____Remove file control_boot_new_image____\nFirst start image - The first attempt to launch a new image... "
sleep 2
else
#else
fi
/usr/bin/showiframe /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/error.mvi > /dev/null 2>&1
echo -e "\n\nerror\n\nERROR, Please reinstalling the kernel for flash image now... \n\nError - NeoBoot he can not run it image Restart STB - Back to Flash..."
echo "\nWrong kernel" > $NEODEVICE$UPLOAD/.kernel/used_flash_kernel
echo "\nWrong kernel" > $NEODEVICE$IMAGEKATALOG/.kernel/used_flash_kernel
echo "Flash " > $NEODEVICE$IMAGEKATALOG/.neonextboot
echo " Neo-Boot start boot manager. Waiting to change image - 20s "
chmod 0755 $NEOBOOT/bin/neobm
sleep 10
/usr/bin/showiframe $NEOBOOT/neologo.mvi > /dev/null 2>&1
$NEOBOOT/bin/neobm > /dev/null 2>&1
ln -sfn /sbin/init.sysvinit /sbin/init
fi
#ln -sfn /sbin/init.sysvinit /sbin/init
#fi
if [ -f $NEODEVICE$IMAGEKATALOG/.neonextboot ]; then
if [ ! -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh ] ; then
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh