diff --git a/NeoBoot/tmpfiles/target/vu_dev_mtd1.sh b/NeoBoot/tmpfiles/target/vu_dev_mtd1.sh index e6f02d9..b99c14b 100644 --- a/NeoBoot/tmpfiles/target/vu_dev_mtd1.sh +++ b/NeoBoot/tmpfiles/target/vu_dev_mtd1.sh @@ -52,7 +52,7 @@ if [ $VUMODEL = "bm750" ] || [ $BOXHOSTNAME = "vuduo" ] || [ $BOXHOSTNAME = "vus cp -f $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz /tmp/vmlinux.gz [ $PL ] && echo "Wgrywanie kernel do /dev/mtd1..." || echo "Writing kernel to from /dev/mtd1" sleep 2 - if [ $CHECK_NANDWRITE = "nandwrite" ] ; then + if [ -e /tmp/check_nandwrite ] || [ $CHECK_NANDWRITE = "nandwrite" ] ; then set -e if [ "x$D" == "x" ]; then if [ -f /tmp/vmlinux.gz ] ; then @@ -93,7 +93,7 @@ if [ $VUMODEL = "bm750" ] || [ $BOXHOSTNAME = "vuduo" ] || [ $BOXHOSTNAME = "vus [ $PL ] && echo "Wgrywanie kernel do /dev/mtd1... " || echo "Writing kernel to from /dev/mtd1 " sleep 2 - if [ $CHECK_NANDWRITE = "nandwrite" ] ; then + if [ -e /tmp/check_nandwrite ] || [ $CHECK_NANDWRITE = "nandwrite" ] ; then echo "writing kernel flash - BOOT IMAGE " set -e if [ "x$D" == "x" ]; then @@ -127,7 +127,7 @@ if [ $VUMODEL = "bm750" ] || [ $BOXHOSTNAME = "vuduo" ] || [ $BOXHOSTNAME = "vus cp -f $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz /tmp/vmlinux.gz [ $PL ] && echo "Zapis kernel do /dev/mtd1... " || echo "Writing kernel to from /dev/mtd1 " sleep 2 - if [ $CHECK_NANDWRITE = "nandwrite" ] ; then + if [ -e /tmp/check_nandwrite ] || [ $CHECK_NANDWRITE = "nandwrite" ] ; then echo "writing kernel flash - IMAGE BOOT " set -e if [ "x$D" == "x" ]; then