home/bin/rpi-create.sh

10 lines
143 B
Bash
Raw Normal View History

#! /bin/bash
sudo dd if=$1 of=$2.raw.img
sudo ~dbroqua/Bin/pishrink.sh $2.raw.img $2.img
sudo chown dbroqua: $2.*
gzip $2.img
rm $2.raw.img