amx-mst701/scripts/patch_sd.sh

10 lines
141 B
Bash
Raw Normal View History

2024-12-18 13:52:47 +01:00
#!/bin/bash
patch=$1
device=$2
echo "Patch $patch to $device. Sure?"
read
sudo dd if=$patch of=$device bs=1 seek=1048576 conv=notrunc
sync