Skip to content

Commit 4892d8c

Browse files
author
Su Yue
committed
orangepi5_release.sh: fix wrong NVME/SATA_MAIGC
Signed-off-by: Su Yue <glass@fydeos.io>
1 parent e15c756 commit 4892d8c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

orangepi5_release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ fi
9191

9292

9393
if [ "$m2" == "nvme" ]; then
94-
magic=NVME_MAGIC
94+
magic=$NVME_MAGIC
9595
else
96-
magic=SATA_MAGIC
96+
magic=$SATA_MAGIC
9797
fi
9898

9999
echo -n "$magic" | dd of="$target" bs=$SECTOR_SIZE seek="$MAGIC_SECTOR" conv=fdatasync,notrunc

0 commit comments

Comments
 (0)