From 96ac7511e2aea8c007441265e37499b4a115f737 Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 9 Mar 2021 12:13:21 +0200 Subject: [PATCH] Add files via upload --- NeoBoot/bin/inithelp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/NeoBoot/bin/inithelp b/NeoBoot/bin/inithelp index 101d605..9d48358 100644 --- a/NeoBoot/bin/inithelp +++ b/NeoBoot/bin/inithelp @@ -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