10 lines
141 B
Bash
Executable File
10 lines
141 B
Bash
Executable File
#!/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
|