mirror of
https://github.com/kevinveenbirkenbach/raspberry-pi-tools.git
synced 2024-11-22 18:11:03 +01:00
Basic setup moode and retropie
This commit is contained in:
parent
1839ac6da1
commit
12c1252e06
@ -168,9 +168,12 @@ case "$os" in
|
|||||||
echo "Unmount partitions..."
|
echo "Unmount partitions..."
|
||||||
umount -v "$rootpath" "$bootpath"
|
umount -v "$rootpath" "$bootpath"
|
||||||
;;
|
;;
|
||||||
"retropie")
|
"moode")
|
||||||
unzip -p "$imagepath" | sudo dd of="$of_device" bs=4M conv=fsync
|
unzip -p "$imagepath" | sudo dd of="$of_device" bs=4M conv=fsync
|
||||||
;;
|
;;
|
||||||
|
"retropie")
|
||||||
|
gunzip -c "$imagepath" | sudo dd of="$of_device" bs=4M conv=fsync
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "The operation system \"$os\" is not supported yet!" && exit 1;
|
echo "The operation system \"$os\" is not supported yet!" && exit 1;
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user