Skip to content

Commit

Permalink
fixes the manual launch of the installation script from USB media (#3377
Browse files Browse the repository at this point in the history
)
  • Loading branch information
150balbes committed Jan 5, 2022
1 parent 2b4e9e6 commit 3f8da05
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/bsp/common/usr/sbin/nand-sata-install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f8da05

Please sign in to comment.