Skip to content

Commit

Permalink
Fix default to flash to ext4
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Oct 17, 2019
1 parent ac3b0c0 commit 4f57a56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SD/BBB-FlashMMC.sh
Expand Up @@ -163,10 +163,10 @@ echo ""
dd if=/opt/backup/uboot/MLO of=${DEVICE} count=1 seek=1 conv=notrunc bs=128k
dd if=/opt/backup/uboot/u-boot.img of=${DEVICE} count=2 seek=1 conv=notrunc bs=384k

if [ "$1" = "ext4" ]; then
prepareEXT4Partitions
else
if [ "$1" = "btrfs" ]; then
prepareBTRFSPartitions
else
prepareEXT4Partitions
fi


Expand All @@ -193,10 +193,10 @@ rm -f boot
ln -sf . boot
cd /

if [ "$1" = "ext4" ]; then
adjustEnvEXT4
else
if [ "$1" = "btrfs" ]; then
adjustEnvBTRFS
else
adjustEnvEXT4
fi

echo "---------------------------------------"
Expand Down

0 comments on commit 4f57a56

Please sign in to comment.