From b69e254b41257ededdd51f5df92930b5910eabad Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 29 Dec 2021 18:28:48 +0200 Subject: [PATCH] Update xtrend_dev_mtd1.sh --- NeoBoot/tmpfiles/target/xtrend_dev_mtd1.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/NeoBoot/tmpfiles/target/xtrend_dev_mtd1.sh b/NeoBoot/tmpfiles/target/xtrend_dev_mtd1.sh index f09d95e..5cef698 100644 --- a/NeoBoot/tmpfiles/target/xtrend_dev_mtd1.sh +++ b/NeoBoot/tmpfiles/target/xtrend_dev_mtd1.sh @@ -62,7 +62,6 @@ if [ $BOXHOSTNAME = "et5x00" ] ; then dd if=$NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz of=/dev/mtdblock1 else $NandWrite -p /dev/mtd1 $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz > /dev/null 2>&1 - $NandWrite -p /dev/mtd1 $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz > /dev/null 2>&1 fi fi @@ -70,8 +69,9 @@ if [ $BOXHOSTNAME = "et5x00" ] ; then update-alternatives --remove vmlinux vmlinux-`uname -r` || true echo "NEOBOOT is booting image " $TARGET echo "...............Shutdown Now..............." - sleep 5 + echo "CHIPSET: " $CHIPSET " BOX NAME: "$BOXHOSTNAME" MODEL: "$BOXHOSTNAME" " echo "Used Kernel: " $TARGET > $NEOBOOTMOUNT$UPLOAD/.kernel/used_flash_kernel + sleep 5 reboot -d -f else if [ -e /.multinfo ] ; then @@ -111,11 +111,12 @@ if [ $BOXHOSTNAME = "et5x00" ] ; then update-alternatives --remove vmlinux vmlinux-`uname -r` || true echo "NEOBOOT is booting image " $TARGET echo "Used Kernel: " $TARGET > $NEOBOOTMOUNT$UPLOAD/.kernel/used_flash_kernel - echo "...............Shutdown Now..............." + echo "...............Shutdown Now..............." + echo "CHIPSET: " $CHIPSET " BOX NAME: "$BOXHOSTNAME" MODEL: "$BOXHOSTNAME" " sleep 5 reboot -d -f fi - fi + fi else ln -sfn /sbin/init.sysvinit /sbin/init echo "CHIPSET: " $CHIPSET " BOX NAME: "$BOXHOSTNAME" MODEL: "$BOXHOSTNAME" "