diff --git a/NeoBoot/bin/neoinitarm b/NeoBoot/bin/neoinitarm index 89a6825..7663788 100644 Binary files a/NeoBoot/bin/neoinitarm and b/NeoBoot/bin/neoinitarm differ diff --git a/NeoBoot/bin/neoinitarmvu b/NeoBoot/bin/neoinitarmvu index 4a7550f..776bc3f 100644 --- a/NeoBoot/bin/neoinitarmvu +++ b/NeoBoot/bin/neoinitarmvu @@ -105,19 +105,15 @@ else ######### test boot new imaga>>>> if [ -e $IMAGE/$TARGET/.control_ok ]; then [ $PL ] && echo "Nie ma bledu, normalny start image..." || echo "No Error - Booting image normal..." - #echo "No Error - Booting image normal... " - sync else if [ -e $IMAGE/$TARGET/.control_boot_new_image ]; then echo "First start image - The first attempt to launch a new image... "; rm -f $IMAGE/$TARGET/.control_boot_new_image - sync else if [ ! -e $IMAGE/$TARGET/.control_ok ] ; then echo " ***** gutosie _(*_*)_ TEST FIRST BOOT IMAGE - rebootbot ***** " echo "Reinstall kernel -Press number 3" > /media/neoboot/ImagesUpload/.kernel/used_flash_kernel ln -sfn /sbin/init.sysvinit /sbin/init echo "Flash " > /media/neoboot/ImageBoot/.neonextboot - sync echo "Error - NeoBoot he can not run it image !!! " echo "Restart STB - Back to Flash... " sleep 8; reboot -f @@ -171,7 +167,7 @@ else echo " Back to image Flash... " rm -f $IMAGEBOOT; touch $IMAGEBOOT; echo "Flash " > $IMAGEBOOT /usr/bin/showiframe $NEOBOOT/error.mvi > /dev/null 2>&1 - sync; sleep 10; exec /sbin/init.sysvinit $1 + sleep 10; exec /sbin/init.sysvinit $1 fi exit 0 fi diff --git a/NeoBoot/bin/neoinitmips b/NeoBoot/bin/neoinitmips index a6f7eb4..08535fe 100644 --- a/NeoBoot/bin/neoinitmips +++ b/NeoBoot/bin/neoinitmips @@ -210,7 +210,7 @@ else echo "Halt init image - " $TARGETIMAGE echo "Start image Flash... " $NEOBOOT/bh.mvi > /dev/null 2>&1 - sync; sleep 1 + sleep 1 exec /sbin/init.sysvinit $* exit 0 else @@ -225,19 +225,16 @@ else ######### test boot new imaga>>>> if [ -e $IMAGE/$TARGET/.control_ok ]; then [ $PL ] && echo "Nie ma bledu, normalny start image..." || echo "No Error - Booting image normal..." - #echo "No Error - Booting image normal... " - sync + else if [ -e $IMAGE/$TARGET/.control_boot_new_image ]; then echo "First start image - The first attempt to launch a new image... "; rm -f $IMAGE/$TARGET/.control_boot_new_image - sync else if [ ! -e $IMAGE/$TARGET/.control_ok ] ; then echo " ***** gutosie _(*_*)_ TEST FIRST BOOT IMAGE - rebootbot ***** " echo "Reinstall kernel -Press number 3" > /media/neoboot/ImagesUpload/.kernel/used_flash_kernel ln -sfn /sbin/init.sysvinit /sbin/init echo "Flash " > /media/neoboot/ImageBoot/.neonextboot - sync echo "Error - NeoBoot he can not run it image !!! " echo "Restart STB - Back to Flash... " sleep 8; reboot -f @@ -330,7 +327,7 @@ else echo " Powrot do image Flash... " rm -f $IMAGEBOOT; touch $IMAGEBOOT; echo "Flash " >> $IMAGEBOOT /usr/bin/showiframe $NEOBOOT/error.mvi > /dev/null 2>&1 - sync; sleep 10; exec /sbin/init.sysvinit $* + sleep 10; exec /sbin/init.sysvinit $* fi exit 0 diff --git a/NeoBoot/bin/neoinitmipsvu b/NeoBoot/bin/neoinitmipsvu index 4b603a3..770f390 100644 --- a/NeoBoot/bin/neoinitmipsvu +++ b/NeoBoot/bin/neoinitmipsvu @@ -81,19 +81,16 @@ else ######### test boot new imaga>>>> if [ -e $IMAGE/$TARGET/.control_ok ]; then [ $PL ] && echo "Nie ma bledu, normalny start image..." || echo "No Error - Booting image normal..." - #echo "No Error - Booting image normal... " - sync + else if [ -e $IMAGE/$TARGET/.control_boot_new_image ]; then echo "First start image - The first attempt to launch a new image... "; rm -f $IMAGE/$TARGET/.control_boot_new_image - sync else if [ ! -e $IMAGE/$TARGET/.control_ok ] ; then echo " ***** gutosie _(*_*)_ TEST FIRST BOOT IMAGE - rebootbot ***** " echo "Reinstall kernel -Press number 3" > /media/neoboot/ImagesUpload/.kernel/used_flash_kernel ln -sfn /sbin/init.sysvinit /sbin/init echo "Flash " > /media/neoboot/ImageBoot/.neonextboot - sync echo "Error - NeoBoot he can not run it image !!! " echo "Restart STB - Back to Flash... " sleep 8; reboot -f @@ -149,7 +146,7 @@ else echo " Sprawdz poprawnosc rozpakowanych katalogow w wybranym image. " echo " Powrot do image Flash... " rm -f $IMAGEBOOT; touch $IMAGEBOOT; echo "Flash " >> $IMAGEBOOT - sync; sleep 10; exec /sbin/init.sysvinit $1 + sleep 10; exec /sbin/init.sysvinit $1 fi exit 0 fi diff --git a/NeoBoot/bin/rebootbot b/NeoBoot/bin/rebootbot index 377bb15..b8c88f2 100644 --- a/NeoBoot/bin/rebootbot +++ b/NeoBoot/bin/rebootbot @@ -3,7 +3,6 @@ if [ ! -e /media/neoboot/ImageBoot/.neonextboot ]; then ln -sfn /sbin/init.sysvinit /sbin/init echo "Flash " > /media/neoboot/ImageBoot/.neonextboot - sync echo "Error - Back to Flash... " sleep 5; reboot -f fi @@ -18,18 +17,15 @@ $IMAGE/$TARGET if [ -e $IMAGE/$TARGET/.control_ok ]; then echo "No Error - Booting image normal ... "; sleep 2 - sync else if [ -e $IMAGE/$TARGET/.control_boot_new_image ]; then echo "First start image - Proba uruchomienia nowego image... "; sleep 5; rm -r -f $IMAGE/$TARGET/.control_boot_new_image - sync else if [ ! -e $IMAGE/$TARGET/.control_ok ] ; then echo " ***** gutosie _(*_*)_ TEST FIRST BOOT IMAGE - rebootbot ***** " echo "Reinstall kernel -Press number 3" > /media/neoboot/ImagesUpload/.kernel/used_flash_kernel ln -sfn /sbin/init.sysvinit /sbin/init echo "Flash " > /media/neoboot/ImageBoot/.neonextboot - sync echo "Error - NeoBoot nie potrafi uruchomic tego image !!! " echo "Restart STB - Back to Flash... " sleep 7; reboot -f