From 3f8da052e80d43987aebe4be1adf45c14eef3992 Mon Sep 17 00:00:00 2001 From: Oleg Date: Wed, 5 Jan 2022 19:54:30 +0300 Subject: [PATCH] fixes the manual launch of the installation script from USB media (#3377) --- packages/bsp/common/usr/sbin/nand-sata-install | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/bsp/common/usr/sbin/nand-sata-install b/packages/bsp/common/usr/sbin/nand-sata-install index 18985a97c7..7a629d3fae 100755 --- a/packages/bsp/common/usr/sbin/nand-sata-install +++ b/packages/bsp/common/usr/sbin/nand-sata-install @@ -630,15 +630,15 @@ main() # Check if we run it from SD card # TODO: Disable/remove this in the future - case ${root_partition_device} in - /dev/mmcblk*) # mmc device, we can continue - : - ;; - *) - dialog --title "$title" --backtitle "$backtitle" --colors --infobox '\n\Z1 This tool must run from SD-card! \Zn' 5 60 - exit 15 - ;; - esac +# case ${root_partition_device} in +# /dev/mmcblk*) # mmc device, we can continue +# : +# ;; +# *) +# dialog --title "$title" --backtitle "$backtitle" --colors --infobox '\n\Z1 This tool must run from SD-card! \Zn' 5 60 +# exit 15 +# ;; +# esac [ -f $logfile ] && echo -e '\n\n\n' >> $logfile LANG=C echo -e "$(date): Start ${0##*/}.\n" >> $logfile