9 lines
142 B
Bash
9 lines
142 B
Bash
|
# Flash image to sd-card
|
||
|
#
|
||
|
# Check sd-card device name with lsblk
|
||
|
|
||
|
SDCARD=$1
|
||
|
IMAGE=$2
|
||
|
|
||
|
sudo dd if=${IMAGE} of=/dev/${SDCARD} status=progress
|