fixes the manual launch of the installation script from USB media (#3377)
This commit is contained in:
parent
2b4e9e6618
commit
3f8da052e8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user